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


Groups > comp.lang.python > #82662

Re: newbie: installing setuptools

Newsgroups comp.lang.python
Date 2014-12-18 22:27 -0800
References <fc5978bf-3231-4265-a859-dc6de5f9db17@googlegroups.com>
Message-ID <d5569413-3c28-447c-a46d-74b710cda58b@googlegroups.com> (permalink)
Subject Re: newbie: installing setuptools
From Surbhi Gupta <surbhi.2388@gmail.com>

Show all headers | View raw


On Friday, December 19, 2014 10:13:15 AM UTC+5:30, 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.

OK, the problem is now resolved: I just found out that we need to install from prompt instead of IDLE. 
Setuptools is installed, but I am not able to use easy_install from prompt. It says:
easy_install : The term 'easy_install' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ easy_install
+ ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (easy_install:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

still unsuccessful in installing Scipy.

Back to comp.lang.python | Previous | Next — Previous in thread | Next 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