ImportError: No module named setuptools
Problem:
Traceback (most recent call last):
File “setup.py”, line 1, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
Solutions:
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py build
python setup.py install
Hope this helps someone out there
American Yak:
Thanks!
12 December 2010, 1:22 pmRob Rasner Magic Castle:
Usually don’t post upon blog sites,\ but I would really like to express this article really convinced us to do so! Congratulations, fairly nice post….
18 April 2011, 11:32 amFilKr:
Very useful! Was trying to setup MySQLdb package and was getting the ImportError: No module named setuptools.
29 July 2011, 5:25 amFollowing your post and setting up setuptools solved the problem. Thank you!
ratz:
First of all, thanks for the great article. Just wanted to share another method which I used:
Downloaded the ‘egg’ file (setuptools-0.6c11-py2.6.egg) from http://pypi.python.org/pypi/setuptools#files and did this instead:
bash setuptools-0.6c11-py2.6.egg
Cheers.
19 August 2011, 8:32 pmhunde:
Thank you
21 September 2011, 2:45 pmJulio Sanchez:
Muchas gracias por esta ayuda… Logre instalar el Openerp 6.0.3
Estoy a sus ordenes en Guadalajara, Jalisco. MX
13 December 2011, 10:40 amTed:
thanks!!
26 March 2012, 3:28 pmjayesh:
Thank u very much….
10 April 2012, 4:36 pm