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/
rein...@vanrees.org             http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to