Some information about my OS:
windows 10 build 10586, x64 pro.
Anaconda, Python 2.7, 64-bit.
root_v5.34.34.win32.vc12.exe
Visual Studio 2013.
Now something is wrong when I import ROOT with my python environment.
Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 16:44:52) [MSC v.1500 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 3.2.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import sys
In [2]: a=r'C:\root_v5.34.34\bin'
In [3]: sys.path.append(a)
In [4]: import ROOT
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-4-b332e25ada1f> in <module>()
----> 1 import ROOT
C:\root_v5.34.34\bin\ROOT.py in <module>()
101 sys.setdlopenflags( 0x100 | 0x2 ) # RTLD_GLOBAL | RTLD_NOW
102
--> 103 import libPyROOT as _root
104
105 # reset dl flags if needed
ImportError: DLL load failed: %1 is not a valid Win32 application.
In [5]:
Can somebody help me?