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


Groups > comp.lang.python > #109747

Re: run code error with numpy and scipy

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From MRAB <python@mrabarnett.plus.com>
Newsgroups comp.lang.python
Subject Re: run code error with numpy and scipy
Date Thu, 9 Jun 2016 14:52:11 +0100
Lines 22
Message-ID <mailman.114.1465480350.2306.python-list@python.org> (permalink)
References <62df152e-8fc6-47c5-aa44-f2da4094c140@googlegroups.com> <dbe34272-8924-e451-700d-3683cfbeffc2@mrabarnett.plus.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de JbzRXYCneD/eqa4aM6mLrw0L+CrWZe4I91B0phdN76ww==
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'scipy': 0.05; 'subject:code': 0.07; 'python': 0.10; 'subject:error': 0.11; '2.7': 0.13; 'complains': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sees': 0.16; 'subject:run': 0.16; 'wrote:': 0.16; 'function,': 0.22; 'finished': 0.23; 'slightly': 0.23; 'url:edu': 0.24; 'url:view': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'header:User- Agent:1': 0.26; 'error': 0.27; 'dll': 0.27; 'thinks': 0.29; 'that.': 0.30; 'code': 0.30; 'window': 0.30; 'screen': 0.32; 'run': 0.33; 'file': 0.34; 'running': 0.34; 'next': 0.35; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'different': 0.63; 'url:drive': 0.84
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=K//fZHiI c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=f2PIqq2XAAAA:8 a=1XWaLZrsAAAA:8 a=xCdzHnh7UT3dl8yicloA:9 a=QEXdDO2ut3YA:10 a=HFPMvhuC7T59uNhDONyK:22 a=nJcEw6yWrPvoIXZ49MH8:22
X-AUTH mrabarnett@:2500
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
In-Reply-To <62df152e-8fc6-47c5-aa44-f2da4094c140@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <dbe34272-8924-e451-700d-3683cfbeffc2@mrabarnett.plus.com>
X-Mailman-Original-References <62df152e-8fc6-47c5-aa44-f2da4094c140@googlegroups.com>
Xref csiph.com comp.lang.python:109747

Show key headers only | View raw


On 2016-06-09 07:02, meInvent bbird wrote:
> when i run code in window has an error not a valid win32 dll
>
> then i install scipy first in this site, then install numpy-mkl
> all python 2.7 and win32
>
> http://www.lfd.uci.edu/~gohlke/pythonlibs/
>
> then i run code below, got error , and captured screen in this link
>
> https://drive.google.com/file/d/0Bxs_ao6uuBDUQXROd2VqSURGa00/view?usp=sharing
>
[snip]
You're entering it at the interactive Python prompt.

When it sees the blank line, it thinks you've finished entering the 
function, so it complains when the next line is indented. (Things are 
slightly different when working interactively than when running from a 
file.)

You should put the code into a file and then run that.

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


Thread

run code error with numpy and scipy meInvent bbird <jobmattcon@gmail.com> - 2016-06-08 23:02 -0700
  Re: run code error with numpy and scipy Ben Finney <ben+python@benfinney.id.au> - 2016-06-09 16:27 +1000
  Re: run code error with numpy and scipy MRAB <python@mrabarnett.plus.com> - 2016-06-09 14:52 +0100
    Re: run code error with numpy and scipy meInvent bbird <jobmattcon@gmail.com> - 2016-06-10 08:03 -0700

csiph-web