Hi, all With kind help of Matthias, I finally compile all functions of ALPS2.1.1 and install it on my Ubuntu 10.02 Lucid. And in my system, it is python 2.6.5, and no VisTrails or ALPS vistrails extensions installed.
But I have got an extra problem: When I am trying to run python file in tutorials via command line, it always returns ---------------------------------error---------------------------------- Traceback (most recent call last): File "tutorial8a.py", line 28, in <module> import pyalps ImportError: No module named pyalps ---------------------------------END----------------------------------
So, I run the test_py.py, all files in tutorials return the same error mentioned above.(see attachment) Besides, before runing ALPS, I have already added lines to /home/jiang/.bashrc as some users in ALPS-users suggest
---------------------lines added to .bashrc------------------- # ALPS release_dir=/home/jiang/opt/alps (I am sure this is where I install the ALPS) export LD_LIBRARY_PATH=$release_dir/lib/ export PATH=$PATH:$release_dir/bin/ export PYTHONPATH=$release_dir/lib/ ------------------------END-----------------------------------------
Any advice is welcome and helpful.
Please send the result of the following command: ls -lR $release_dir/lib/
On Mar 20, 2013, at 5:50 PM, Bo-Nan JIANG bonanjiang@gmail.com wrote:
Hi, all With kind help of Matthias, I finally compile all functions of ALPS2.1.1 and install it on my Ubuntu 10.02 Lucid. And in my system, it is python 2.6.5, and no VisTrails or ALPS vistrails extensions installed.
But I have got an extra problem: When I am trying to run python file in tutorials via command line, it always returns ---------------------------------error---------------------------------- Traceback (most recent call last): File "tutorial8a.py", line 28, in <module> import pyalps ImportError: No module named pyalps ---------------------------------END----------------------------------
So, I run the test_py.py, all files in tutorials return the same error mentioned above.(see attachment) Besides, before runing ALPS, I have already added lines to /home/jiang/.bashrc as some users in ALPS-users suggest
---------------------lines added to .bashrc------------------- # ALPS release_dir=/home/jiang/opt/alps (I am sure this is where I install the ALPS) export LD_LIBRARY_PATH=$release_dir/lib/ export PATH=$PATH:$release_dir/bin/ export PYTHONPATH=$release_dir/lib/ ------------------------END-----------------------------------------
Any advice is welcome and helpful.
-- Stay foolish,Stay hungry.
<pytest.log>
comp-phys-alps-users@lists.phys.ethz.ch