Adding libraries to portable python

2019-07-11 21:40发布

问题:

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

回答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 !