Buildout は私のシステム全体の Distribute インストールを気に入らず、実行を拒否します:
plone@s15447224:~/mybuildout$ python bootstrap.py
Creating directory '/home/plone/mybuildout/bin'.
Creating directory '/home/plone/mybuildout/parts'.
Creating directory '/home/plone/mybuildout/eggs'.
Creating directory '/home/plone/mybuildout/develop-eggs'.
Getting distribution for 'distribute==0.6.14'.
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /usr/lib/python2.6/dist-packages
Non-egg installation
Removing elements out of the way...
Already patched.
/usr/lib/python2.6/dist-packages/setuptools.egg-info already patched.
After install bootstrap.
Creating /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info
error: /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info: Permission denied
An error occurred when trying to install distribute 0.6.14. Look above this message for any errors that were output by easy_install.
While:
Bootstrapping.
Getting distribution for 'distribute==0.6.14'.
Error: Couldn't install: distribute 0.6.14
buildout に独自の Distribute をインストールし、システム全体の Python インストールを台無しにしないように指示する方法はありますか?
私はvirtualenvについて知っています。しかし、buildout を満足させるために virtualenv をインストールするだけではやり過ぎのようです。何か他の方法があるはずです。
パイソン 2.6。プレーン 4.1. Ubuntu 10.4。