问题
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:
- Download from PyPi https://pypi.python.org/pypi/neurolab
- Unpack the tar.gz file with Winzip, 7-zip or other tool
- Copy contents of "neurolab" (marked on the picture) folder to App\Lib\site-packages\ in Portable Python
- Use it !
来源:https://stackoverflow.com/questions/16754614/adding-libraries-to-portable-python