Anoconda is slow to download packages

If you encounter slow download speed when using Anaconda to download packages, you can try the following methods to solve it:

  1. Change the mirror source: Anaconda uses the official mirror source by default. You can try to use other mirror sources to speed up downloading. For example, the Tsinghua University Mirror Station provides the mirror source of Anaconda. You can try to use the Tsinghua University Mirror Station to download the package. Run the following command in a terminal or command prompt to change the image source:

    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    

    This will add the Tsinghua University mirror site to your Anaconda configuration. Then, try downloading the package again to see if there is an improvement.

  2. Use a proxy server: If you experience slow speeds when accessing external networks, consider using a proxy server to speed up downloads. You configure the proxy server through settings HTTP_PROXYand environment variables. HTTPS_PROXYFor example, run the following command in a terminal or command prompt: On Windows:

set HTTP_PROXY=http://your_proxy_server:port
set HTTPS_PROXY=http://your_proxy_server:port

Guess you like

Origin blog.csdn.net/qq_53478650/article/details/132568306