PyRoot 5.34.20 with Windows

Hello!

I have successfully installed PyROOT on Windows-7 machine (64-bit) yesterday, after many trials and errors. Let me post the recipe that I have used in case it can be useful for others…

  1. install Python 2.7.8, 32-bit
  2. install ROOT version 5.34.20, built with VC++ 9 (root_v5.34.14.win32.vc90.msi), 32-bit
  3. in root\bin, libPyROOT.pyd file seems to be too small… Remove it and copy libPyROOT.dll --> libPyROOT.pyd
  4. Set environment variables like this:
    PATH=C:\root\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%C:\Python27
    PYTHONPATH = C:\root\bin;C:\root\lib;C:\Python27
    ROOTSYS = C:\root

And then it works! :slight_smile:

Notes:
*) PyRoot doesn’t work for me with Python 64-bit
*) PyRoot doesn’t work for me with Python 2.6.X

Cheers,
David

1 Like

David,

I don’t have access to a Windows machine to try this out, but just in case there is something obvious, what does “not work” mean?

Thanks,
Wim