[Distutils] distribute o.7.3 causing installation error?
Reinout van Rees
reinout at vanrees.org
Wed Jul 17 09:58:53 CEST 2013
On 16-07-13 19:15, Liam Kirsher wrote:
> ec2-54-245-36-62.us-west-2.compute.amazonaws.com ImportError: No module
> named setuptools
My guess is that there's a left-over distribute somewhere. Probably an
egg-link in some dist-packages or site-packages directory. I had a
problem like that too.
What I did in that case:
- Search&destroy any distribute/setuptools anywhere.
- Install setuptools from scratch instead of trying to upgrade it.
wget https://bitbucket.org/pypa/setuptools/raw/0.8/ez_setup.py
sudo /usr/bin/python ez_setup.py
Yes, this sucks if you want to maintain a nice clean OS-managed machine.
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
reinout at vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
More information about the Distutils-SIG
mailing list