Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'error:': 0.05; 'failing': 0.05; 'from:addr:yahoo.co.uk': 0.05; 'importerror:': 0.05; 'modules.': 0.09; 'python:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'worked,': 0.09; 'python': 0.10; '2.7': 0.13; 'syntax': 0.13; 'importing': 0.15; 'anyone?': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:import': 0.16; 'syntaxerror:': 0.16; 'thoughts?': 0.16; 'url:pip': 0.16; 'wrote:': 0.16; 'later': 0.16; 'variable': 0.18; 'language': 0.19; 'versions': 0.20; 'work,': 0.21; 'do.': 0.22; '"",': 0.22; 'lawrence': 0.22; 'trying': 0.22; 'installation': 0.23; 'errors': 0.23; 'import': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'followed': 0.27; "skip:' 10": 0.28; 'wasting': 0.29; "i'm": 0.30; 'work.': 0.30; 'error.': 0.31; "can't": 0.32; 'language.': 0.32; 'usually': 0.33; 'instead,': 0.33; 'traceback': 0.33; 'open': 0.33; 'file': 0.34; 'could': 0.35; 'path': 0.35; 'tools,': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'received:org': 0.37; 'difference': 0.38; 'url:en': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'some': 0.40; 'your': 0.60; 'real': 0.62; 'here.': 0.62; 'charset:windows-1252': 0.62; 'complete': 0.63; 'our': 0.64; 'spend': 0.67; '100%': 0.72; 'received:89': 0.80; '3.4': 0.84; 'commenting': 0.84; 'pythonistas,': 0.84; 'whatsoever.': 0.84; 'url:latest': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Trying to import numpy Date: Tue, 07 Jul 2015 08:00:42 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-89-240-167-175.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436252470 news.xs4all.nl 2851 [2001:888:2000:d::a6]:41009 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93551 On 07/07/2015 04:17, ryguy7272 wrote: > I'm trying to use numpy. I get this error: >>>> import numpy as np > > Traceback (most recent call last): > File "", line 1, in > import numpy as np > ImportError: No module named numpy > > > > I followed the instructions here. > https://pip.pypa.io/en/latest/installing.html > > > In the c-prompt, I get this error. > C:\>python get-pip.py > python: can't open file 'get-pip.py': [Errno 2] No such file or directory > > > In python 2.7, I get this error. >>>> python get-pip.py > SyntaxError: invalid syntax Upgrade your installation to one that comes with pip, either the later versions of 2.7 or 3.4 will do. > > > I would say 100% of my errors come from importing python modules. If this every worked, I could do some real work. Instead, I spend 100% of my time trying to make thing that don't work, work. > Complete nonsense that I'm not wasting my time commenting on. > > I've already added ';C:\Python27' to the Path under Variable Name. Of course, this makes no difference whatsoever. Ugh. > > Any thoughts? Anyone? > A bad workman always blames his tools, usually as a result of failing to RTFM. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence