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


Groups > comp.lang.python > #93551

Re: Trying to import numpy

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Trying to import numpy
Date 2015-07-07 08:00 +0100
References <c55edf1c-56b7-44be-bc4d-5f74ffb3176b@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.339.1436252470.3674.python-list@python.org> (permalink)

Show all headers | View raw


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 "<pyshell#1>", line 1, in <module>
>      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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Trying to import numpy ryguy7272 <ryanshuell@gmail.com> - 2015-07-06 20:17 -0700
  Re: Trying to import numpy Michael Torrie <torriem@gmail.com> - 2015-07-06 22:38 -0600
  Re: Trying to import numpy Chris Angelico <rosuav@gmail.com> - 2015-07-07 15:04 +1000
  Re: Trying to import numpy Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-07 08:00 +0100
  Re: Trying to import numpy Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-07 09:23 -0400
  Re: Trying to import numpy Terry Reedy <tjreedy@udel.edu> - 2015-07-07 12:32 -0400
  Re: Trying to import numpy Laurent Pointal <laurent.pointal@free.fr> - 2015-07-07 19:53 +0200

csiph-web