Closed Dam998 closed 4 years ago
Downloading python-2.7.15.amd64.msi Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 4145 Downloading Python failed. Error: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 4145 at ClientRequest.onError (C:\Users\dpapi\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\tunnel-agent\index.js:177:17) at Object.onceWrapper (events.js:421:26) at ClientRequest.emit (events.js:314:20)
This appears to be caused by a problem with your network. https://github.com/nodejs/node/issues/5436#issuecomment-188917703
What happens when you try to download the installer directly? e.g.
$ wget https://www.python.org/ftp/python/2.7.15/python-2.7.15.amd64.msi
You may want to try using a different Python mirror (e.g. --python-mirror
argument or PYTHON_MIRROR
environment variable).
Thank you for your support
the wget command doesn't work for me
I tried from another pc and this command: npm i windows-build-tools -g
works, so the problem is only on my personal pc
How is it possible? what's can be the problem?
Hi,
I solved it with this command: npm config delete proxy
I don't know why but now it's working all perfectly
Do you have any idea about what's up?
However thank you for your time and support!
the wget command doesn't work for me
It's not included with Windows; you'd have to download and install it. I didn't mean to imply that you had to use that tool though. It's just a CLI HTTP/HTTPS/FTP client. You could've tried the URL in a standard web browser instead or performed just the DNS lookup portion using nslookup
.
Do you have any idea about what's up?
It seems likely that your computer's proxy settings (or other network configuration) are not set correctly. It is unlikely to be related to windows-build-tools
at all.
Hi, I don't know why but get this error when execute
npm i windows-build-tools -g
: