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


Groups > comp.lang.python > #54953

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'example:': 0.03; '(using': 0.07; 'importerror:': 0.07; 'appropriate.': 0.09; 'portions': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'whichever': 0.09; 'python': 0.11; '2.7.3': 0.16; 'interpreter,': 0.16; 'missing?': 0.16; 'modules.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sys.path': 0.16; 'transcript': 0.16; 'essential': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'module': 0.19; 'trying': 0.19; 'starts': 0.20; 'thanks.': 0.20; 'command': 0.22; '>>>': 0.22; 'import': 0.22; 'shell': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'copied': 0.24; 'specify': 0.24; 'fine': 0.24; 'looks': 0.24; "i've": 0.25; 'source': 0.25; 'long,': 0.26; 'skip:" 30': 0.26; 'second': 0.26; 'downloaded': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'especially': 0.30; 'getting': 0.31; 'lines': 0.31; '"",': 0.31; 'occurs': 0.31; 'file': 0.32; 'probably': 0.32; 'summary': 0.32; 'running': 0.33; '(most': 0.33; 'link.': 0.33; 'third': 0.33; 'skip:d 20': 0.34; 'message.': 0.35; 'problem': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'module.': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'error.': 0.37; 'wrong': 0.37; 'minimum': 0.38; 'ends': 0.38; 'whatever': 0.38; 'to:addr :python-list': 0.38; 'recent': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'system.': 0.39; 'received:org': 0.40; 'how': 0.40; 'customized': 0.61; 'full': 0.61; 'first': 0.61; 'complete': 0.62; 'show': 0.63; 'happen': 0.63; 'more': 0.64; 'foreign': 0.74; 'cut': 0.74; 'me).': 0.84; 'symptoms': 0.84; '2013,': 0.91; 'shell,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dave Angel <davea@davea.name>
Subject Re: Neurolab // "No module named .."
Date Sat, 28 Sep 2013 16:23:51 +0000 (UTC)
References <a074d642-7c4f-4841-ba24-8e19f24c55e6@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 174.32.174.35
User-Agent XPN/1.2.6 (Street Spirit ; Linux)
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.418.1380385457.18130.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1380385457 news.xs4all.nl 15881 [2001:888:2000:d::a6]:41637
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54953

Show key headers only | View raw


On 28/9/2013 10:55, 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.

Welcome to the forum, and to Python.

First point:  when you have a problem, especially an import problem, in
some (unnamed) shell, make sure the same symptoms happen at a command
line or the Python interpreter, whichever is appropriate. If the
problem only occurs in the shell, it's a shell problem, or probably a
configuration one.

Second point:  Include the source file you use, hopefully stripped to
the essential minimum.

Third point: include a transcript of all, or the significant portions of
the session (using cut and paste, not paraphrasing). The error
(exception) message is a minimum of 3 lines long,  You show part of the
last line.  The full error message starts with "Traceback" and ends with
some textual summary error message.

Fourth:  indicate how you may have customized your system.  At a
minimum, you must think you installed the neurolab module.  Whatever
that is, whereever you found it.  You should supply the link.

But perhaps you downloaded it and copied it, without actually running
any install program. The directory you specify is NOT the conventional
place for foreign modules.

For example:

davea@think2:~/temppython$ python
Python 2.7.3 (default, Apr 10 2013, 06:20:15) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import unknown
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named unknown
>>> 



-- 
DaveA

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