I installed in the past numexpr successfully on many machine. But now I just cannot manage
to get it run on a new Linux system. Essentially I download the tar.gz file and
python setup.py install --home=~/Python/
which nicely works. I also did
export PYTHONPATH+=:$HOME/Python/lib/python/
This procedure works nicely for a couple of other modules on the machine, but for numexpr
I keep getting
Python 2.6.2 (r262:71600, Jul 22 2011, 11:30:26)
[GCC 4.4.4 20100726 (Bull 4.4.4-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numexpr
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numexpr
I tried version 1.4.1 and 1.4.2 of numexpr. Also the sys.path is correctly set in the python environment (as it should be).
Does anybody have an idea what could go wrong here?
Thanks,
Mark
$HOME/Python/lib/python/is probably not a correct value for the PYTHONPATH, the modules are usually installed in subdirectory below the installation dir, usually with a version number afterpythonetc. I think this problem is solvable by just looking at what is under~/Python