我剛剛安裝了easy_install,但是我在安裝機械化時遇到問題,我應該在任何時候尋址站點包。在下面的第一個嘗試中,我得到了一個錯誤。在下面的第二次嘗試中,我找到了命令,因爲我確信它已經下載,所以這是很奇怪的。使用easy_install安裝機械化
names-computer:~ names$ cd /Users/names/Desktop/
names-computer:~/Desktop names$ sh /Users/names/Desktop/mechanize-0.1.9-py2.5.egg
/Users/names/Desktop/mechanize-0.1.9-py2.5.egg: /Users/names/Desktop/mechanize-0.1.9-py2.5.egg: cannot execute binary file
names-computer:~/Desktop names$ easy_install mechanize
-bash: easy_install: command not found
使用ActivePython,您只需運行「pypm install mechanize」。無需安裝其他程序(ActivePython也包含easy_install/pip) – 2010-02-27 03:23:19