Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54973
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Neurolab // "No module named .." |
| Date | 2013-09-28 14:58 -0400 |
| References | <a074d642-7c4f-4841-ba24-8e19f24c55e6@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.432.1380394717.18130.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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