본문 바로가기
IT/머신러닝

[에러 슈팅] conda 파이썬 버전 변경시 (conda install python=3.6.6)

by 빨강자몽 2018. 11. 6.

conda install python=3.6.6 버전 설치 시


다음과 같은 에러가 발견되었을 시


active environment : None user config file : /home/nicholasc/.condarc populated config files : conda version : 4.4.7 conda-build version : not installed python version : 2.7.14.final.0 base environment : /home/nicholasc/anaconda2 (read only) channel URLs : https://repo.continuum.io/pkgs/main/linux-64 https://repo.continuum.io/pkgs/main/noarch https://repo.continuum.io/pkgs/free/linux-64 https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io/pkgs/r/linux-64 https://repo.continuum.io/pkgs/r/noarch https://repo.continuum.io/pkgs/pro/linux-64 https://repo.continuum.io/pkgs/pro/noarch package cache : /home/nicholasc/anaconda2/pkgs /home/nicholasc/.conda/pkgs envs directories : /home/nicholasc/anaconda2/envs /home/nicholasc/.conda/envs platform : linux-64 user-agent : conda/4.4.7 requests/2.18.4 CPython/2.7.14 Linux/4.10.0-38-generic ubuntu/16.04 glibc/2.23 UID:GID : 1095:1000 netrc file : None offline mode : False Proceed ([y]/n)? y Preparing transaction: failed SafetyError: The package for certifi located at /home/nicholasc/anaconda2/pkgs/certifi-2017.11.5-py36hf29ccca_0 appears to be corrupted. The path 'lib/python3.6/site-packages/certifi/__pycache__/__main__.cpython-36.pyc' has a sha256 mismatch. reported sha256: c9a6c77ce469f80cf327424500e96d3808c708a75a45f40d89aa25a6b9a4e03c actual sha256: 7a2a59764be4ce9febc2e46d1192bef777539f8cfaf60c09649df414fdee3aed


버전 설치 시 base environment가 "read only"가 되어서 그렇다.


sudo chown -R username /home/username/miniconda