Amelio Vazquez-Reina Amelio Vazquez-Reina - 1 year ago 63
Git Question

Installing from a specific branch in GitHub. Do I need to specify egg?

I want to install the 2.3 branch of PyMC.

I have tried with:

pip install -e git+git:://


pip install git+git:://

without luck. Do I need to specify
information? If so why?

Answer Source

You have too many colons in your URL:

#  ----^

Just one colon is required:

pip install git+git://

or, in editable mode:

pip install -e git+git://

Provided you have a Fortran compiler installed that Just Works.

The #egg=<projectname> part is optional and only used to test for dependencies before downloading. It lets pip test if the package is already installed without needing to clone the whole repository.