我在我的Mac上用山獅運行python 3.3。我正在嘗試下載twitter api。大多數消息來源說使用點,這需要easy_install,這顯然我沒有。當終端我跑ñew-host-2:~ lego90511$ easy_install pip
和響應,我得到錯誤:下載Python 3.3模塊
:無法創建或安裝目錄[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-25628.write-test'
The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:
/Library/Python/2.7/site-packages/
Perhaps your account does not have write access to this directory? If the installation directory is a system-owned directory, you may need to sign in as the administrator or "root" account. If you do not have administrative access to this machine, you may wish to choose a different installation directory, preferably one that is listed in your PYTHONPATH environment variable.
For information on other options, you may wish to consult the documentation at:
http://peak.telecommunity.com/EasyInstall.html
Please make the appropriate changes for your system and try again.
以下錯誤刪除的文件,同時嘗試添加或 安裝目錄中刪除文件時
有誰知道我在做什麼錯?
好了,當通過終端,並去'/Libary/Frameworks/Python.framework/Versions/3.3'所以我找到了python3.3所以我如何指定我想使用它的easy_install,這是假設它來用它。我試着在坐在3.3和更深的python3.3下運行easy_install並得到了同樣的結果,那麼是否有特定的方法來指定'this'python? – EasilyBaffled 2013-03-09 20:41:32
virtualenv上的第一個值得注意的地方是如何用pip安裝它,所以我有點困惑,因爲它的目的,第二我不確定你說的最後一行 – EasilyBaffled 2013-03-09 21:22:04
@EasilyBaffled - 是的不是一個非常滿意的頁面 - 我會刪除它。 – Mark 2013-03-09 21:24:31