解决pip install 报错的问题
parent
ef85ad5409
commit
2f0ae85baa
|
@ -70,7 +70,7 @@ async function _winSetProxy (exec, ip, port, setEnv) {
|
||||||
}
|
}
|
||||||
// http=127.0.0.1:8888;https=127.0.0.1:8888 考虑这种方式
|
// http=127.0.0.1:8888;https=127.0.0.1:8888 考虑这种方式
|
||||||
const proxyPath = extraPath.getProxyExePath()
|
const proxyPath = extraPath.getProxyExePath()
|
||||||
await execFile(proxyPath, ['global', `http=${ip}:${port};https=${ip}:${port}`, lanIpStr])
|
await execFile(proxyPath, ['global', `http=http://${ip}:${port};https=http://${ip}:${port}`, lanIpStr])
|
||||||
|
|
||||||
if (setEnv) {
|
if (setEnv) {
|
||||||
log.info('同时设置 https_proxy')
|
log.info('同时设置 https_proxy')
|
||||||
|
|
Loading…
Reference in New Issue