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/
干得漂亮,我也干过
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
我尝试了 numExpl 的1.4.1 和 1.4.2 版本 。 另外, sys. path 被正确设置在 python 环境中( 应该设置) 。
有人知道这里会出什么问题吗?
Thanks, Mark