bootstrap.py tries to write in the global python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I run bootstrap.py on Ubuntu 10.04, and I get:
8-----< CUT HERE>------8
karen@laesa:
/bin/buildout
Getting distribution for 'distribute'.
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /usr/lib/
Non-egg installation
Removing elements out of the way...
Already patched.
/usr/lib/
After install bootstrap.
Creating /usr/local/
error: /usr/local/
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'.
Error: Couldn't install: distribute 0.6.14
8-----< CUT HERE>------8
At this point it gives up:
An error occurred when trying to install distribute 0.6.14. Look above
this message for any errors that were output by easy_install.
The buildout is being done by a user who isn't root, so it's straightforward that the user cannot modify /usr/local/lib/*.
To get past this, I have to run: sudo easy_install distribute==0.6.14
(more info: You can clone the repo by doing "git clone git://code.
Changed in zc.buildout: | |
status: | New → Fix Committed |
Which version of boostrap.py (and zc.buildout therefore) are you using ?