Python2.6用のSphinx1.1.3をインストールしたい。ただし、sudoの権利はありません。そのため、デフォルトの場所にインストールする代わりに、-prefixを使用して別の場所を設定したいと思います。次のことを行います。
-bash-3.2$ easy_install Sphinx-1.1.3-py2.6.egg --prefix=/homes/ndeklein/python2.6/site-packages/
私に与える:
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 13] Permission denied: '/usr/lib/python2.4/site-packages/test-easy-install-18534.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/lib/python2.4/site-packages/
プレフィックスに間違った入力をしていますか?また、代わりに使用できるもの(他のパッケージで使用したもの):
python setup.py install --home=/homes/ndeklein/python2.6/site-packages/
しかし、setup.pyスクリプトが見つかりません。EGGにはsetup.pyスクリプトがないと思いますが、本当ですか?