我在很多機器上成功安裝了過去的numexpr。但現在我無法管理 以使其在新的Linux系統上運行。本質上我下載tar.gz文件和未找到Python的numexpr模塊
python setup.py install --home=~/Python/
這很好地工作。我還做了
export PYTHONPATH+=:$HOME/Python/lib/python/
此過程很好地工作的一對夫婦在機器上其他的模塊,但numexpr 我不斷收到
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
我試圖1.4.1版和numexpr 1.4.2 。此外,sys.path在Python環境中正確設置(因爲它應該是)。
有沒有人有一個想法在這裏可能會出錯?
謝謝, 馬克
你在64位系統上? $ HOME/Python中有lib和lib64嗎?如果是這樣,他們的內容是什麼? –