Search code examples
pythonpython-3.xwget

How do i install wget in Anaconda Windows 10?


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


Solution

  • 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}