Wie kann ich das entfernen eines URL-Kanal von Anaconda?

Kürzlich brauchte ich zum installieren PyPdf2 zu einem meiner Programme mit Anaconda. Leider habe ich versäumt, aber die URLs Hinzugefügt wurden Anaconda Umgebung zu verbieten, die updates aller Conda Bibliotheken.
Jedes mal, wenn ich versucht, zu aktualisieren, anaconda es gibt die folgenden

conda update conda
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata ..........Error: Invalid index file: https://pypi.python.org/pypi/PyPDF2/1.26.0/win-64/repodata.json: No JSON object could be decoded

Ich den Befehl eingegeben conda info, um zu sehen, was den Fehler verursacht, ich habe viele URLs, die Punkte zu PyPdf2!

Einfach, will ich entfernen Sie alle diese URLS aus der anaconda - Kanal-URLs, Wie kann ich es tun? Egal, manuell oder automatisch.

Hinweis: ich habe deinstalliert, Anaconda, und neu installieren, aber kein Glück!

C:\WINDOWS\system32>conda info
Using Anaconda Cloud api site https://api.anaconda.org
Current conda install:

             platform : win-64
        conda version : 4.1.6
    conda-env version : 2.5.1
  conda-build version : 1.21.3
       python version : 2.7.12.final.0
     requests version : 2.10.0
     root environment : C:\Anaconda2  (writable)
  default environment : C:\Anaconda2
     envs directories : C:\Anaconda2\envs
        package cache : C:\Anaconda2\pkgs
         channel URLs : https://pypi.python.org/pypi/PyPDF2/1.26.0/win-64/
                        https://pypi.python.org/pypi/PyPDF2/1.26.0/noarch/
                        https://conda.anaconda.org/C:\Python27\Lib\site-packages\PyPDF2/win-64/
                        https://conda.anaconda.org/C:\Python27\Lib\site-packages\PyPDF2/noarch/
                        https://conda.anaconda.org/X:\Downloads\Compressed\PyPDF2-master\/win-64/
                        https://conda.anaconda.org/X:\Downloads\Compressed\PyPDF2-master\/noarch/
                        https://github.com/mstamy2/PyPDF2/zipball/master/win-64/
                        https://github.com/mstamy2/PyPDF2/zipball/master/noarch/
                        https://pypi.python.org/pypi/PyPDF2/win-64/
                        https://pypi.python.org/pypi/PyPDF2/noarch/
                        https://pythonhosted.org/PyPDF2/win-64/
                        https://pythonhosted.org/PyPDF2/noarch/
                        https://github.com/mstamy2/PyPDF2/win-64/
                        https://github.com/mstamy2/PyPDF2/noarch/
                        https://repo.continuum.io/pkgs/free/win-64/
                        https://repo.continuum.io/pkgs/free/noarch/
                        https://repo.continuum.io/pkgs/pro/win-64/
                        https://repo.continuum.io/pkgs/pro/noarch/
          config file : C:\Users\Dr. Mohammad Elnesr\.condarc
         offline mode : False
    is foreign system : False
Haben Sie überprüft C:\Users\Dr. Mohammad Elnesr\.condarc ?
Ja, das habe ich und ich fand dort die Dateien abgelegt haben.Dank
Ich Schreibe die detaillierte Lösung morgen früh in meinem Büro.

InformationsquelleAutor Mohammad ElNesr | 2016-09-18

Schreibe einen Kommentar