简体   繁体   中英

Trying to install github package with pip using git-bash

I'm trying to install: https://github.com/dgrtwo/ParsePy . According the directions you need to run :

pip install git+https://github.com/dgrtwo/ParsePy.git

I'm trying to do this with git-bash in win7. I've tried:

$ C:\\envs\\r1\\Scripts\\pip.exe install git+https://github.com/dgrtwo/ParsePy.git
Fatal error in launcher: Unable to create process using '"C:\envs\r2\Scripts\python.exe" "C:\envs\r1\Scripts\pip.exe" install git+https://github.com/dgrtwo/ParsePy.git'
(r2)
$ C:\\envs\\r1\\Scripts\\pip.exe "install git+https://github.com/dgrtwo/ParsePy.git"
Fatal error in launcher: Unable to create process using '"C:\envs\r2\Scripts\python.exe" "C:\envs\r1\Scripts\pip.exe" "install git+https://github.com/dgrtwo/ParsePy.git"'

How can I get the package installed?

edit:

(r2)
$ C:\\envs\\r1\\Scripts\\pip.exe install https://github.com/dgrtwo/ParsePy/archive/master.zip
Fatal error in launcher: Unable to create process using '"C:\envs\r2\Scripts\python.exe" "C:\envs\r1\Scripts\pip.exe" install https://github.com/dgrtwo/ParsePy/archive/master.zip'
(r2)
$ pip install https://github.com/dgrtwo/ParsePy/archive/master.zip
sh: pip: command not found

Copy the link of Download ZIP from Github page and give it to pip:

pip install https://github.com/dgrtwo/ParsePy/archive/master.zip

It should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM