Conda: Installing / upgrading directly from github

Amelio Vazquez-Reina picture Amelio Vazquez-Reina · Sep 27, 2013 · Viewed 101k times · Source

Can I install/upgrade packages from GitHub using conda?

For example, with pip I can do:

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

to install scrappy directly from the master branch in GitHub. Can I do something equivalent with conda?

If this is not possible, would it make any sense to install pip with conda and manage such local installations with pip?

Answer

Gabriel Fair picture Gabriel Fair · May 2, 2018

The answers are outdated. You simply have to conda install pip and git. Then you can use pip normally:

  1. Activate your conda environment source activate myenv

  2. conda install git pip

  3. pip install git+git://github.com/scrappy/scrappy@master