簡體   English   中英

可以使用“easy_install”安裝 django-rosetta 包

[英]Can install django-rosetta package using "easy_install"

我在 bluehost 上安裝了 django 1.2.4、Python 2.6.6 和最新的 osqa[july2012]。 我想使用 rosetta 翻譯 osqa 應用程序[工作正常]。 我在帶有 ssh 連接的 mac 上使用終端。

osqa 在這里

 ~/.local/lib/python2.6/site-packages/osqa/

當我想安裝 rosetta 時,我運行easy_install django-rosetta並收到以下錯誤:

    error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the installation directory: [Errno 30] 
Read-only file system: '/usr/lib/python2.6/site-packages/test-easy-install-28753.write-test'The installation directory you specified (via --install-dir, --prefix, or
    the distutils default setting) was:/usr/lib/python2.6/site-packages/

我怎樣才能讓它可寫? osqa、django 和 python 的安裝很順利,但 rosetta 就是不想要。 我在根目錄和站點包目錄中運行了easy_install django-rosetta

從長遠來看,你最好使用virtualenv

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM