将库添加到便携式python [英] Adding libraries to portable python

查看:96
本文介绍了将库添加到便携式python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我目前正在使用便携式python,我需要添加Neurolab库.在命令行上,我尝试移动到脚本目录并运行

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

然后打开另一个命令行窗口,并在Google代码及其列表文件中找到了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.

但是Neurolab没有添加到我的便携式python中...

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

任何帮助将不胜感激

推荐答案

这看起来像纯Python库.如果是这样,您可以按照以下步骤在没有easy_install的情况下安装它:

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

  1. 从PyPi下载 https://pypi.python.org/pypi/neurolab
  2. 使用Winzip,7-zip或其他工具将tar.gz文件解压缩.
  3. 将"neurolab"(标记为图片)文件夹的内容复制到可移植Python中的App \ Lib \ site-packages \
  4. 使用它!
  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 !

这篇关于将库添加到便携式python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆