conda error: could not found url

后端 未结 5 1056
孤城傲影
孤城傲影 2021-01-05 21:15

recently i installed the anaconda but when i\'m open it i got this error: Error fetching package index Could not find URL: https://pypi.python.org/pypi/osx-64/

相关标签:
5条回答
  • Edit your file ~/.condarc and take out the lines that include pypi.*. These are not valid conda channels.

    0 讨论(0)
  • 2021-01-05 21:24

    Install MiniConda

    sh Miniconda2-latest-Linux-x86_64.sh -f
    

    In the same folder of previous conda It will solve all conda related problem

    Works for me as charm

    0 讨论(0)
  • 2021-01-05 21:32

    I resolved it by applying the following commands in the terminal:

    1. conda info

    2. cd to config file (cd /Users/select/the/folder/where/config/file/is)

    3. open .condarc (textEdit app opened the file automatically)

      From the textEdit: delete https://pypi.python.org/pypi/ and save and close .condarc file

    4. conda info (to check it deleted it)

    5. conda update conda

    6. conda update anaconda
    0 讨论(0)
  • 2021-01-05 21:38

    You should edit the condarc file, as mentioned. It is hidden, thus you may not find it right away.

    You can find it like this, from you home folder:

    find . -name ".condarc"
    
    0 讨论(0)
  • 2021-01-05 21:41

    in osx El Capitan Version 10.11.6 and Anaconda 4.1.1 worked:

    vi ./.condarc
    

    so deleted all what did included pypi: https://pypi.python.org/pypi/osx-64/

    0 讨论(0)
提交回复
热议问题