Trying to import numpy

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Jul 7 09:00:42 CEST 2015


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



More information about the Python-list mailing list