2

So I'm currently using portable python and I need to add the neurolab library. On command line I tried moving to the scripts directory and running

easy_install.exe neurolab

Then another command line window opens and it's found the neurolab project on google code and its listing files. Then it zips through a ton of lines and the window closes.

However neurolab isn't added to my portable python...

Any help would be much appreciated

user1646196
  • 589
  • 6
  • 28
  • there should be a `lib/site-packages` folder in the portable python folder. if you have an other python installed maybe it installes it to there. does it? – User May 26 '13 at 11:04

1 Answers1

1

This looks like pure Python library. If that is the case you can install it without easy_install by following these steps:

  1. Download from PyPi https://pypi.python.org/pypi/neurolab
  2. Unpack the tar.gz file with Winzip, 7-zip or other tool
  3. Copy contents of "neurolab" (marked on the picture) folder to App\Lib\site-packages\ in Portable Python
  4. Use it !
Perica Zivkovic
  • 2,610
  • 24
  • 32
  • I don't know if it's an error in neurolab or a problem in copying into directory but when I ran their example I got an invalid syntax error on: except TrainStop as msg: in the source code for neurolab. If it turns out it's in the library I'll accept this answer :) – user1646196 May 27 '13 at 19:48
  • Could you post which example are you trying to run and with what parameters ? – Perica Zivkovic May 27 '13 at 22:27
  • Just the example on this page: https://code.google.com/p/neurolab/ when the network reaches the desired accuracy or end epochs the exception TrainStop is raised, it's when TrainStop is caught as an exception it fails src code is here https://code.google.com/p/neurolab/source/browse/trunk/neurolab/core.py – user1646196 May 28 '13 at 16:34