- 論壇徽章:
- 0
|
系統(tǒng)里面有附帶的python2.4,重新安裝了python2.7.5 (部署在不同的目錄)
在安裝2.7.5時(shí)候
make 的時(shí)候提示
Python build finished, but the necessary bits to build these modules were not found:
_sqlite3 _tkinter bsddb185
dl imageop sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
_hashlib _ssl
請(qǐng)問這個(gè)要如何解決呢?
在啟動(dòng)2.7.5的時(shí)候提示
Python 2.7.5 (default, Sep 3 2013, 18:29:15)
[GCC 4.1.2 20070115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/etc/pythonstart", line 7, in <module>
import readline
ImportError: No module named readline
這部分要如何解決?重新編譯安裝 readline 庫?
可以的話煩請(qǐng)?jiān)敿?xì)說說,之前一直用perl,最新在學(xué)習(xí)python |
|