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 -- https://mail.python.org/mailman/listinfo/python-list