Dear All, i have compiled ALPS from source, and it is all ok. Now i would use it with pycharm, but the output of “import pyalps” is Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site Can you help me? Thanks anyway. Salvatore Lorenzo
Hi, I think you just have to set the pyalps location in your environment. (usually this is done automatically by alpspython, which is a wrapper around python) export PYTHONPATH=/opt/alps/lib:$PYTHONPATH In case you didn’t install ALPS in /opt/alps, just change the path to your install prefix. Best regards, Michele -- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland dolfim@phys.ethz.ch www.itp.phys.ethz.ch +41 44 633 78 56 phone +41 44 633 11 15 fax
On 25 Oct 2015, at 20:33, Salvatore Lorenzo <tury1979@gmail.com> wrote:
Dear All, i have compiled ALPS from source, and it is all ok. Now i would use it with pycharm, but the output of “import pyalps” is
Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site
Can you help me?
Thanks anyway.
Salvatore Lorenzo
participants (2)
-
Michele Dolfi
-
Salvatore Lorenzo