【发布时间】:2012-07-30 19:00:21
【问题描述】:
我在 bluehost 上安装了 django 1.2.4、Python 2.6.6 和最新的 osqa[july2012]。 我想使用 Rosetta 翻译 osqa 应用程序[工作正常]。 我在 Mac 上使用带有 ssh 连接的终端。
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。
【问题讨论】:
-
~/.local/bin/easy_install --prefix=~/.local Django-rosetta 工作! :) 谢谢大家
标签: python django osqa django-rosetta