Conda install package from github including requir

2019-09-14 22:12发布

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条回答
姐就是有狂的资本
2楼-- · 2019-09-14 23:15

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
查看更多
登录 后发表回答