Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'failure.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; 'suggest': 0.15; 'instead.': 0.15; 'interpreter': 0.15; 'exceptions.': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:import': 0.16; 'wrote:': 0.16; 'windows': 0.20; '2015': 0.20; '"",': 0.22; 'trying': 0.22; 'am,': 0.23; 'import': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'header:User-Agent:1': 0.26; 'command': 0.26; 'header:X-Complaints-To:1': 0.26; "i'm": 0.30; 'code': 0.30; "i'd": 0.31; 'run': 0.33; '-0700': 0.33; 'traceback': 0.33; 'file': 0.34; 'running': 0.34; 'gives': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'whatever': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; '>>>>>': 0.66; 'jul': 0.72; 'irrelevant': 0.84; 'dennis': 0.91; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Trying to import numpy Date: Tue, 7 Jul 2015 12:32:44 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436286780 news.xs4all.nl 2943 [2001:888:2000:d::a6]:43251 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93560 On 7/7/2015 9:23 AM, Dennis Lee Bieber wrote: > On Mon, 6 Jul 2015 20:17:34 -0700 (PDT), ryguy7272 > declaimed the following: > >> I'm trying to use numpy. I get this error: >>>>> import numpy as np >> >> Traceback (most recent call last): >> File "", line 1, in > > 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 as the pseudofile name for exceptions. When code is run from Idle's Shell, , where n is the line number, is used instead. This is irrelevant to the numpy import failure. -- Terry Jan Reedy