I got the following ImportError as i tried to setup.py install a package:
Traceback (most recent call last): File "setup.py", line 4, in <module> from setuptools import setup, Extension ImportError: No module named setuptools This happens although setuptools is already installed:
amir@amir-debian:~$ sudo apt-get install python-setuptools [sudo] password for amir: Reading package lists... Done Building dependency tree Reading state information... Done python-setuptools is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Why can't python find the setuptools module?