3
我試圖在使用gcc 3.4.2的Solaris 8上構建python 2.5.2。我看不到任何直接的錯誤在./configure這一步,但,一旦建成,我進入Python Shell中執行導入時錯誤有:Python 2.5.2和Solaris 8(gcc 3.4.2)構建問題
Python 2.5.2 (r252:60911, Nov 21 2008, 18:45:42)
[GCC 3.4.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named time
我到底做錯了什麼?從我可以看到粗略的谷歌是可能會有一個libstdC++錯誤,所以,但我找不到任何硬件細節。
任何建議將是最受歡迎的。
非常感謝,
鋁。
Python在哪裏安裝?什麼是PYTHONPATH?什麼是sys.path目前設置爲? – 2008-11-24 16:57:52