Trying to import numpy

Terry Reedy tjreedy at udel.edu
Tue Jul 7 12:32:44 EDT 2015


On 7/7/2015 9:23 AM, Dennis Lee Bieber wrote:
> On Mon, 6 Jul 2015 20:17:34 -0700 (PDT), ryguy7272 <ryanshuell at gmail.com>
> declaimed the following:
>
>> 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>
>
> 	I have no experience with whatever provides "pyshell". I'd suggest
> running from a Windows command line to reduce dependencies.

The command line interactive interpreter gives <stdin> as the pseudofile 
name for exceptions.  When code is run from Idle's Shell, <pyshell#n>, 
where n is the line number, is used instead.  This is irrelevant to the 
numpy import failure.

-- 
Terry Jan Reedy




More information about the Python-list mailing list