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


Groups > comp.lang.python > #82674

Re: newbie: installing setuptools

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: newbie: installing setuptools
Date 2014-12-19 10:29 -0500
Organization IISS Elusive Unicorn
References <fc5978bf-3231-4265-a859-dc6de5f9db17@googlegroups.com> <d5569413-3c28-447c-a46d-74b710cda58b@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.17058.1419008152.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, 18 Dec 2014 22:27:47 -0800 (PST), Surbhi Gupta
<surbhi.2388@gmail.com> declaimed the following:

>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.

	That is not a normal Windows command response. Are you running
PowerShell instead of cmd?

PS C:\Users\Wulfraed\Documents> I_dont_exist anywhere
The term 'I_dont_exist' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:13
+ I_dont_exist <<<<  anywhere
    + CategoryInfo          : ObjectNotFound: (I_dont_exist:String) [],
CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


	Though in a quick test, it runs in PowerShell for me... But that may be
related to my having set up various Windows PATH, PATHEXT, ASSOC, and
FILETYPE entries so that easy_install is found

(Granted, it failed when it couldn't find numpy)

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\Wulfraed\Documents> easy_install
error: No urls, filenames, or requirements specified (see --help)
PS C:\Users\Wulfraed\Documents> easy_install scipy
Searching for scipy
Reading https://pypi.python.org/simple/scipy/
Best match: scipy 0.14.0
Downloading
https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.zip#md5=7ee4fa9e756bab6b46b79f77c821cb68
Processing scipy-0.14.0.zip



	In contrast, the "regular" command line produces

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Wulfraed\Documents>I_dont_exist anywhere
'I_dont_exist' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Wulfraed\Documents>easy_install numpy
Searching for numpy
Reading https://pypi.python.org/simple/numpy/
Best match: numpy 1.9.1
Downloading
https://pypi.python.org/packages/source/n/numpy/numpy-1.9.1.zip#md5=223532d8e1bdaff5d30936439701d6e1

(and numpy failed to install since it couldn't find Lapack, vcvarsall,
atlass, etc. -- and if it did, I'd be lucky not to need a C-compiler for
them... For a Windows system, the best way to install these libraries is to
locate a pre-built binary installer; .msi or .exe)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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