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


Groups > comp.lang.python > #82674

Re: newbie: installing setuptools

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'scipy': 0.05; 'binary': 0.07; 'error:': 0.07; 'test,': 0.07; '[],': 0.09; 'function,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spelling': 0.09; 'runs': 0.10; 'windows': 0.15; 'command,': 0.16; 'did,': 0.16; 'easy_install': 0.16; 'filenames,': 0.16; 'idle.': 0.16; 'included,': 0.16; 'match:': 0.16; 'message-id:@4ax.com': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'resolved:': 0.16; 'them...': 0.16; 'url:packages': 0.16; 'file,': 0.19; 'thu,': 0.19; 'command': 0.22; 'install': 0.23; 'entries': 0.24; 'url:home': 0.24; 'file.': 0.24; 'script': 0.25; '(see': 0.26; 'recognized': 0.26; 'header:X-Complaints-To:1': 0.27; 'correct': 0.29; 'external': 0.29; '(c)': 0.29; '2009': 0.29; 'related': 0.29; 'dec': 0.30; 'specified': 0.30; 'skip:( 20': 0.30; "skip:' 10": 0.31; 'contrast,': 0.31; 'libraries': 0.31; 'produces': 0.31; 'url:python': 0.33; 'running': 0.33; 'url:source': 0.33; "i'd": 0.34; 'problem': 0.35; 'anywhere': 0.35; 'but': 0.35; 'installing': 0.36; 'skip:> 10': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'searching': 0.37; 'requirements': 0.37; 'system,': 0.38; 'to:addr:python-list': 0.38; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'name': 0.63; 'term': 0.63; 'url:0': 0.67; 'reserved.': 0.68; 'response.': 0.68; 'prompt': 0.68; 'gupta': 0.84; 'urls,': 0.91; 'lucky': 0.93; 'url:n': 0.93; 'url:14': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: newbie: installing setuptools
Date Fri, 19 Dec 2014 10:29:06 -0500
Organization IISS Elusive Unicorn
References <fc5978bf-3231-4265-a859-dc6de5f9db17@googlegroups.com> <d5569413-3c28-447c-a46d-74b710cda58b@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-68-177-133.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17058.1419008152.18130.python-list@python.org> (permalink)
Lines 75
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1419008152 news.xs4all.nl 2854 [2001:888:2000:d::a6]:33161
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82674

Show key headers only | 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