Home  >  Q&A  >  body text

python - anaconda3 windows conda怎么选择源?下载速度太慢了

自己加了新的源,但还是用原来的。

天蓬老师天蓬老师2764 days ago1038

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:17:46

    1. Delete the previously added information
      Open the .condarc file in the user directory (such as C:UsersVincent) and delete the previously added information by mistake

    2. Remove the quotation marks and add them again

      conda config --add channels https://mirrors.tuna.tsinghua...
      conda config --set show_channel_urls yes

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:17:46

    Update:

    It is true that there is no need to add quotes when adding a channel
    In addition, the respondent did not mention how to delete the originally added wrong channel. I searched and found that the configuration file is .condarc. You can use the conda info -a command to view the path C:UsersAdministrator.condarc. Open it directly through Notepad, delete both the default one and the wrong one, leaving only the correct one.
    -----The following is the original record, because I can't edit the question on my mobile phone, I have to write the supplementary explanation here----------

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

    Added the above source, but did not use it.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:17:46

    http://conda.pydata.org/docs/...

    Everything will be clear once you take a look

    reply
    0
  • Cancelreply