Conda install package from github including requirements.txt

只愿长相守 提交于 2019-12-12 05:28:51

问题


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.

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?


回答1:


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


来源:https://stackoverflow.com/questions/44594994/conda-install-package-from-github-including-requirements-txt

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