Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'from:addr:yahoo.co.uk': 0.04; 'warnings': 0.04; 'binary': 0.07; 'error:': 0.07; 'session.': 0.07; "'no": 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'runs': 0.10; 'python': 0.11; 'language.': 0.14; '267': 0.16; 'easier.': 0.16; 'idle.': 0.16; 'option:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'setuptools': 0.16; 'url:whatsnew': 0.16; 'vpython': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'first.': 0.19; 'packages.': 0.19; 'import': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'fine': 0.24; 'versions': 0.24; 'skip:" 30': 0.26; 'url:edu': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'gives': 0.31; 'python.org.': 0.31; 'file': 0.32; 'run': 0.32; 'says': 0.33; 'url:python': 0.33; 'maybe': 0.34; 'problem': 0.35; "can't": 0.35; 'but': 0.35; 'c++': 0.36; 'installing': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; '(from': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'new': 0.61; "you've": 0.63; 'our': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66; 'hey,': 0.75; 'gupta': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: newbie: installing setuptools Date: Fri, 19 Dec 2014 17:59:26 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-8-142.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419015917 news.xs4all.nl 2871 [2001:888:2000:d::a6]:47425 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82675 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