Question:
I’m trying install psycopg2 into my virtualenv. I’ve tried pip I’ve tried easy_install nothing is working… installing from pip is the more desirable choice but it has to be done through nwcell’s github package https://github.com/nwcell/psycopg2-windows heres the command I’ve been using:
1 2 |
pip install git+https://github.com/nwcell/psycopg2-windows.git@win64-py34#egg=psycopg2 |
Answer:
As the docs say:
pip supports installing from Git, Mercurial, Subversion and Bazaar, and detects the type of VCS using url prefixes: “git+”, “hg+”, “bzr+”, “svn+”.
pip requires a working VCS command on your path: git, hg, svn, or bzr.
So, if you don’t have a working git
command on your %PATH%
, you can’t pip install git+<anything>
. To fix it, install git
, and make sure it ends up on your %PATH%
.