Opened 13 years ago

Last modified 13 years ago

#199 closed task (FIXED)

buildout problems: ImportError: No module named ez_setup

Reported by: Will Kahn-Greene Owned by: Christopher Allan Webber
Priority: minor Milestone: 0.0.5
Component: documentation Keywords:
Cc: Parent Tickets:

Description

I did "python bootstrap.py && ./bin/buildout" and got this:

...
Getting distribution for 'PasteScript'.
Traceback (most recent call last):
File "", line 1, in
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 1712, in main
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 1700, in with\_ei\_usage
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 1716, in
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run\_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in
run\_commands
self.run\_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in
run\_command
cmd\_obj.run()
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 211, in run
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 427, in easy\_install
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 476, in install\_item
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 655, in install\_eggs
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 930, in build\_and\_install
File
"build/bdist.linux-i686/egg/setuptools/command/easy\_install.py",
line 919, in run\_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62,
in run\_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105,
in run
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64,
in
File "setup.py", line 1, in # GNU MediaGoblin -- federated,
autonomous media hosting
ImportError: No module named ez\_setup
An error occurred when trying to install PasteScript 1.7.4. Look
above this message for any errors that were output by
easy\_install.
While:
Installing.
Getting section make\_user\_dev\_dirs.
Initializing section make\_user\_dev\_dirs.
Installing recipe mediagoblin.
Getting distribution for 'PasteScript'.
Error: Couldn't install: PasteScript 1.7.4

Chris said to try bootstrap.py with the --distribute option. That
worked fine.

This bug is for:


1. figuring out what happened
2. fixing the hacking howto so it's clearer about working around
   issues and using --distribute



Change History (3)

comment:1 by Christopher Allan Webber, 13 years ago

Component: Documentation
Milestone: 0.0.5
Owner: set to Christopher Webber
We solved this. Once again a setuptools vs distribute error.

We clarified in the Hacking Howto on how to do use setuptools or
distribute, whatever's appropriate.
`http://wiki.mediagoblin.org/HackingHowto <http://wiki.mediagoblin.org/HackingHowto>`_



comment:2 by Christopher Allan Webber, 13 years ago

Status: NewClosed

comment:2 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/493 .

Note: See TracTickets for help on using tickets.