PythonSparse
PythonSparse

Reputation: 61

Python 3: ImportError: No module named 'setuptools'

I am working with python 3.3 on a Mac OS X laptop. I have been trying to install the pysparse package, but to no avail.

When running 'python setup.py install', I always get the 'print 'setuptools module not found.'' error. I searched for fixes to this problem and found the threads about the distribute package, which I installed. But this does not change anything and I still get the same error when trying to install the pysparse package.

Has anybody had the same problem or knows how to fix it? Thanks!

Upvotes: 0

Views: 8910

Answers (1)

AChampion
AChampion

Reputation: 30258

If you have pip installed for python 3.3 then you can install setuptools with pip-3.3 install setuptools.

If you don't have pip installed then use easy_install to install pip, see Pip Installation

You may want to check you have the right PATHs set in your environment because on Mac python tools tend to get placed in /Library/Frameworks/Python.framework/Versions/[2.7,3.3]/bin

Upvotes: 1

Related Questions