Adding libraries to portable python

僤鯓⒐⒋嵵緔 提交于 2019-12-12 18:05:57

问题


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 !


来源:https://stackoverflow.com/questions/16754614/adding-libraries-to-portable-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!