Conda: Installing / upgrading directly from github

前端 未结 4 1820
心在旅途
心在旅途 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:10

    conda doesn't support this directly because it installs from binaries, whereas git install would be from source. conda build does support recipes that are built from git. On the other hand, if all you want to do is keep up-to-date with the latest and greatest of a package, using pip inside of Anaconda is just fine, or alternately, use setup.py develop against a git clone.

提交回复
热议问题