Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82675

Re: newbie: installing setuptools

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: newbie: installing setuptools
Date 2014-12-19 17:59 +0000
References <fc5978bf-3231-4265-a859-dc6de5f9db17@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.17060.1419015917.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

newbie: installing setuptools Surbhi Gupta <surbhi.2388@gmail.com> - 2014-12-18 20:43 -0800
  Re: newbie: installing setuptools Surbhi Gupta <surbhi.2388@gmail.com> - 2014-12-18 22:27 -0800
    Re: newbie: installing setuptools Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-19 10:29 -0500
  Re: newbie: installing setuptools Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-19 17:59 +0000

csiph-web