hdf5, python and h5py for windows 64 bit

· Uncategorized
Authors

(I’m assuming python 2.76 version here. Make the relevant changes, if different)

1. First install python 64 bit version

2. Apparently, the installer doesn’t register the python installation as 64 bit installation in the registry. You’ll need to “clone” the  registry entry [HKEY_LOCAL_MACHINE\SOFTWARE\Python] into [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python]. Create a registry file “python_276.reg” with the text below and execute it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\Help]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\Help\Main Python Documentation]
@=”C:\\Python27\\Doc\\python276.chm”

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath]
@=”C:\\Python27\\”

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath\InstallGroup]
@=”Python 2.7″

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\Modules]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\PythonPath]
@=”C:\\Python27\\Lib;C:\\Python27\\DLLs;C:\\Python27\\Lib\\lib-tk”

3. Install the 64 bit version of h5py from Christoph Gohlke Unofficial Windows Binaries (Thanks a lot Christoph!)

———————————————————————-

Test it:

from Python command line:

>>> import h5p 

Nothing happened? good 🙂

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: