我想通过命令pipenv install
使用托管在gitlab上的私有仓库
我的Pipfile
[packages]
fwk = {git = "https://gitlab+deploy-token-1:abcdefghij@gitlab.domain.com/repo/pck.git", ref = "master", editable = true}
但我无法登录
Obtaining pck from git+https://gitlab.domain.com/repo/pck.git@master#egg=pck
Cloning https://gitlab.domain.com/repo/pck.git (to revision master) to c:\users\general03\.virtualenvs\project-xs-zg3cz\src\pck
fatal: unable to access 'https://gitlab.domain.com/repo/pck.git/': Received HTTP code 502 from proxy after CONNECT
...
Command "git clone -q https://gitlab.domain.com/repo/pck.git C:\Users\general03\.virtualenvs\project-Xs-zG3cz\src\pck" failed with error code 128 in None
当我像上面指定的那样启动git clone时,就可以了!
在我的.env文件中,我设置了HTTPS_PROXY
如何解决HTTP 502?
谢谢