Conda: Installing / upgrading directly from github

前端 未结 4 1813
心在旅途
心在旅途 2020-11-28 18:30

Can I install/upgrade packages from GitHub using conda?

For example, with pip I can do:

pip install git+git://github.com/scrappy/scrappy         


        
4条回答
  •  难免孤独
    2020-11-28 19:11

    I found a reference to this in condas issues. The following should now work.

    name: sample_env
    channels:
    dependencies:
       - requests
       - bokeh>=0.10.0
       - pip:
         - git+https://github.com/pythonforfacebook/facebook-sdk.git
    

提交回复
热议问题