newbie: installing setuptools
Mark Lawrence
breamoreboy at yahoo.co.uk
Fri Dec 19 12:59:26 EST 2014
On 19/12/2014 04:43, Surbhi Gupta wrote:
> Hey, I am new to python and facing problem with installing packages. I am using VPython which requires Python 2.7.x from python.org; it will not work with versions of Python other than the one from python.org. So I need to install packages separately.
>
> I was trying to install scipy-0.14.0, it gives following error:
> Warning (from warnings module):
> File "C:\Python27\lib\distutils\dist.py", line 267
> warnings.warn(msg)
> UserWarning: Unknown distribution option: 'test_suite'
>
> So I thought maybe I need to install setuptools first. I ran setup.py file in IDLE. it runs fine and then I can import it in current session. But when I run session, it still says 'no module named setuptools'. Same thing happened when I tried to install nose.
>
If you've got Python 2.7.9 just use pip as it's far easier. This
https://docs.python.org/release/2.7.9/whatsnew/2.7.html#pep-477-backport-ensurepip-pep-453-to-python-2-7
refers.
If you still can't install a package as you've not got Visual Studio C++
try downloading a binary from here
http://www.lfd.uci.edu/~gohlke/pythonlibs/
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list