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


Groups > comp.lang.python > #54973

Re: Neurolab // "No module named .."

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
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; 'paths': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'python': 0.11; 'jan': 0.12; '2.7.3': 0.16; 'missing?': 0.16; 'paths.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'sys.path': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'thanks.': 0.20; 'import': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'fine': 0.24; 'looks': 0.24; "i've": 0.25; 'skip:" 30': 0.26; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'getting': 0.31; 'problem': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'should': 0.36; 'error.': 0.37; 'wrong': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:173': 0.61; 'complete': 0.62; 'contains.': 0.84; 'me).': 0.84; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Neurolab // "No module named .."
Date Sat, 28 Sep 2013 14:58:22 -0400
References <a074d642-7c4f-4841-ba24-8e19f24c55e6@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0
In-Reply-To <a074d642-7c4f-4841-ba24-8e19f24c55e6@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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>
Newsgroups comp.lang.python
Message-ID <mailman.432.1380394717.18130.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1380394717 news.xs4all.nl 15878 [2001:888:2000:d::a6]:38697
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54973

Show key headers only | View raw


On 9/28/2013 10:55 AM, FiveHydroxy Tryptamine wrote:
> Hiya A word of warning, I am a complete beginner. My problem goes
> like this:: I've been trying to "import neurolab as nl"(a neural
> network library)and I keep getting the "No module named.." error in
> my Python 2.7.3 shell. There is definitely something wrong with my
> Python path, although everything looks fine (to me). I also appended
> the sys.path with "C:/Python27/neurolab-0.2.3/neurolab" and I still
> get that error. What am I missing? Thanks.

Perhaps that sys.path should contain directory paths but not module 
paths. I suspect that "C:/Python27/neurolab-0.2.3" is the directory you 
should append. Import will then find the neurolab module it contains.

-- 
Terry Jan Reedy

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


Thread

Neurolab // "No module named .." FiveHydroxy Tryptamine <lilithsolved@gmail.com> - 2013-09-28 07:55 -0700
  Re: Neurolab // "No module named .." Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-28 12:04 -0400
  Re: Neurolab // "No module named .." Dave Angel <davea@davea.name> - 2013-09-28 16:23 +0000
  Re: Neurolab // "No module named .." Terry Reedy <tjreedy@udel.edu> - 2013-09-28 14:58 -0400
  Re: Neurolab // "No module named .." Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-28 20:06 +0100
  Re: Neurolab // "No module named .." MRAB <python@mrabarnett.plus.com> - 2013-09-28 20:45 +0100
  Re: Neurolab // "No module named .." Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-28 18:37 -0400

csiph-web