2017-03-05 6 views
0

Wie kann ich das folgende Problem in Conda beheben, wo es fehlschlägt, eine neue Umgebung zu erstellen?Conda kann keine Umgebung erstellen

conda create --name snowflakes biopython                  130 ↵ 
Fetching package metadata ......... 
Solving package specifications: . 

Package plan for installation in environment /home/geoheil/.conda/envs/snowflakes: 

The following NEW packages will be INSTALLED: 

    biopython: 1.68-np112py36_0 
    mkl:  2017.0.1-0  
    numpy:  1.12.0-py36_0 
    openssl: 1.0.2k-1   
    pip:  9.0.1-py36_1  
    python:  3.6.0-0   
    readline: 6.2-2   
    setuptools: 27.2.0-py36_0 
    sqlite:  3.13.0-0   
    tk:   8.5.18-0   
    wheel:  0.29.0-py36_0 
    xz:   5.2.2-1   
    zlib:  1.2.8-3   

Proceed ([y]/n)? y 

mkl-2017.0.1-0 100% |######################################################################| Time: 0:00:14 9.39 MB/s 
numpy-1.12.0-p 100% |######################################################################| Time: 0:00:00 9.51 MB/s 
biopython-1.68 100% |######################################################################| Time: 0:00:00 9.26 MB/s 
ERROR conda.core.link:_execute_actions(330): An error occurred while installing package 'defaults::readline-6.2-2'. 
CondaError: Cannot link a source that does not exist. /opt/anaconda/pkgs/readline-6.2-2/lib/libhistory.a 

Attempting to roll back. 



CondaError: Cannot link a source that does not exist. /opt/anaconda/pkgs/readline-6.2-2/lib/libhistory.a 

Antwort

2

Scheint irgendwie Ihr Paket-Cache-Verzeichnis wurde beschädigt. Es ist kein Fehler mit dem Upstream-Paket, da https://repo.continuum.io/pkgs/free/linux-64/readline-6.2-2.tar.bz2 definitiv diese Datei enthält. Versuchen:

conda env remove -yn snowflakes 
conda remove readline -y --force 
conda clean --all -y 
conda install readline -y 
conda create -n snowflakes biopython 
+0

ich nicht ausführen kann Readline- entfernen aufgrund 'erfordern würde Conda dependnecies' –

+0

@GeorgHeiler Verwenden Entfernen' --force' das Paket zu entfernen, ohne Abhängigkeiten zu entfernen. –

+0

Das ist nur Verschieben des Problems auf die nächste Sache conda erstellen -n Schneeflocken biopython Ich nehme an sauber --all löschte alle Pakete, wie kann ich jetzt alle Pakete neu installieren? Vielleicht kann dann die neue Umgebung erstellt werden. –

Verwandte Themen