从Github安装Python软件包 [英] Install Python Package from Github

查看:69
本文介绍了从Github安装Python软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从Github安装10K-MDA-Section( https://github.com/rflugum/10K-MDA-Section ),但是在提示符下运行此命令时:

I would like to install 10K-MDA-Section from Github (https://github.com/rflugum/10K-MDA-Section) but when running this command in the prompt:

pip install --upgrade git+git://github.com/rflugum/10K-MDA-Section

我收到此错误:

FileNotFoundError: [Errno 2] No such file or directory: 
  'C:\\Users\\...\\AppData\\Local\\Temp\\pip-req-build-1vmt3z0t\\setup.py'

----------------------------------------
Command "python setup.py egg_info" failed with error 
  code 1 in C:\Users\...\AppData\Local\Temp\pip-req-build-1vmt3z0t\

你知道是什么原因造成的吗?

Any idea what is causing this?

推荐答案

只要存储库( rflugum/10K-MDA-Section )没有 setup.py 文件, pip安装不起作用

As long as the repository (rflugum/10K-MDA-Section) does not have a setup.py file, a pip install won't work.

检查是否克隆,然后直接执行 MDA Extractor.py ( python MDA Extractor.py )就足够了.

Check if cloning, and then executing MDA Extractor.py directly (python MDA Extractor.py)is enough.

这篇关于从Github安装Python软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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