How do i install wget in Anaconda Windows 10?

Question:

I tried to follow the instructions from this website called https://github.com/conda-forge/python-wget-feedstock to install wget. However, i get the error message as shown below and i have no clue what it actually means. Is there a way to install wget from anaconda in windows 10?
enter image description here

enter image description here

Error when using conda install -c menpo wget
enter image description here

Asked By: cena

||

Answers:

Try this

conda install -c menpo wget
Answered By: Farhan Farooq

If you check the error message, you are getting connection timeout which is most probably related with your proxy configurations.

Use this command to see proxy_servers

conda config --show

If any proxy server is present, you can remove it by

conda config --remove-key proxy_servers. 

It will remove saved proxy servers from anaconda configuration. Then run,

conda clean --source-cache

However if you are behind a company proxy, you have to set them correctly.

set http_proxy=http://username: [email protected]:{port}
set https_proxy=https://username: [email protected]:{port}
Answered By: metalrt

Although I’ve used wget a lot in the past (in PHP, back in the olden days), it seems to me that you would be much better off adapting your workflow to use requests instead, if it’s at all possible.

I wrestled with Anaconda for hours to try to get wget to install on a Win10 x64 version, and eventually I bit the bullet and refactored things to get rid of the dependency.

requests is no slower than wget, in my experience: I download very large GIS datafiles every month (totalling ~3.4GB) and the total download time is basically unchanged by the switch.

Answered By: GT.

I am using jupyter notebook and anaconda for management.
not same issue but was not able to install wget through anaconda (told the following packages is not available in the current channel)
I have used pip to install it in my virtual environment.

pip install wget
Answered By: TANYA PATEL

Use

python -m pip install -U wget
Answered By: Julius Bamah
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.