来自github的Conda安装包,包括requirements.txt [英] Conda install package from github including requirements.txt
问题描述
我将jupyter笔记本用作anaconda安装的一部分.我想安装托管在Github上的Python软件包(即通过https://...
或git://...
URL)以及所有requirements.txt
依赖项.这是内部开发的自定义软件包,而不是发布到PyPI的软件包.
I use a jupyter notebook as part of an anaconda installation. I'd like to install a Python package hosted on Github (i.e., via a https://...
or git://...
URL), along with all requirements.txt
dependencies. This is a custom package developed in-house, not a package published to PyPI.
我不清楚我是否要在conda
或pip
/virtualenv
环境中进行操作,或者如何执行操作.最好的方法是什么?
I'm not clear on whether I would want to do it in a conda
or a pip
/virtualenv
environment, or how I would do it. What is the best way to do this?
推荐答案
这可能不是最好的方法,但是您可以使用Ipython控制台安装Github软件包(如果pip支持).像TwitterAPI一样,您可以使用以下命令
This may not be the best way but you can use Ipython console to install Github package (if supported by pip). Like for TwitterAPI you can use below command
!pip install TwitterAPI
这篇关于来自github的Conda安装包,包括requirements.txt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!