티스토리 뷰

반응형

아나콘다 가상환경 생성시 아래와 같은 오류가 발생할 수 있다. 

 

conda create -n new_env python=3.6

    Collecting package metadata (current_repodata.json): failed

       >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "D:\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
        return func(*args, **kwargs)
      File "D:\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
        exit_code = do_call(args, p)

 

ssl 통신오류와는 다르게 .condarc 파일이 잘못된 경우이다. 

아래와 같이 조치하면 된다. 

 

더보기

steps:

  1. run command conda clean -i to see if it works first
  2. remove the .condarc file
  3. run command conda config --set show_channel_urls true in anaconda prompt to regenerate the .condarc file and then modify it

Important Note: If you encounter this problem, you should try running command conda clean -i first (especially when you haven't changed anything about channels). If it doesn't work, then you can try these steps. If you encounter this problem again after these steps, just try running command conda clean -i to see if it works. That's all I know so far.

참고URL: https://stackoverflow.com/questions/61134985/conda-install-packages-error-collecting-package-metadata-current-repodata-json

 

conda install packages error: Collecting package metadata (current_repodata.json): failed

When I use 'conda install' to install packages, I always get an annoying error: Collecting package metadata (current_repodata.json): failed The detailed report can be seen through this link: error

stackoverflow.com

 

#파이썬 #아나콘다 #anaconda #conda #create #issue #condarc #가상환경 #virtualenv #venv

반응형
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함