Python 尝试使用git bash安装带有pip的github包

Python 尝试使用git bash安装带有pip的github包,python,windows,git-bash,Python,Windows,Git Bash,我正在尝试安装:。根据您需要跑步的方向: pip install git+https://github.com/dgrtwo/ParsePy.git 我正试图用win7中的git bash实现这一点。我试过: $ C:\\envs\\r1\\Scripts\\pip.exe install git+https://github.com/dgrtwo/ParsePy.git Fatal error in launcher: Unable to create process using '"C:\

我正在尝试安装:。根据您需要跑步的方向:

pip install git+https://github.com/dgrtwo/ParsePy.git
我正试图用win7中的git bash实现这一点。我试过:

$ 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"'
如何安装软件包

编辑:

从Github页面复制下载ZIP的链接并将其交给pip:

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

它应该可以工作。

因为我不是Windows用户,但我可以建议您使用pip命令的完整路径,就像第一次尝试使用git时一样。请尝试以下C:\\envs\\r1\\Scripts\\pip.exe安装https://github.com/dgrtwo/ParsePy/archive/master.zip$pip install成功安装,无错误
pip install https://github.com/dgrtwo/ParsePy/archive/master.zip