Dear Hartmut,
A few questions:
- which platform are you trying to use this on? - did you turn on building of the ALPS Python modules? - where did you try setting PYTHONPATH to?
Matthias
On 11 Sep 2011, at 15:54, Hartmut Hafermann wrote:
Dear ALPS-community,
I have written a C++ application based on ALPS. Now I would like to interface it with python via hdf5 archives. Assuming that pyalps.hdf5.archive.write is compatible with alps::make_pvp(...), everything I need is contained in test/pyalps/pyhdf5.py . However I have problems executing the script. Using alpspython or vispython, I get import errors, such as "ImportError: No module named pyhdf5_c" (or pyalea_c). I tried compiling the modules with the build shared option and setting the PYTHONPATH, without success.
I'd very much appreciate any hint on how to properly install and use the ALPS python extensions.
Best regards, Hartmut
-- Hartmut Hafermann
École Polytechnique Centre de Physique Theorique (CPHT) 91128 Palaiseau Cedex, France
Tel.: +33 1 69 33 42 34 Fax: +33 1 69 33 49 49