본문 바로가기
  • 공부 기록 인생 기록
Python/DL

tensorflow 설치 과정에서 오류 해결

by 티권 2023. 2. 8.

C:\Users\LG>conda install -c conda-forge tensorflow 명령어 입력

 

오류발생

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url
 <
https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>

Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

 

tensorflow 설치 명령어 입력했을 때 오류났을 때 해결 방법.

구글링했는데 먼소린지 몰라서 cmd창에서 했었는데, 이 순서로 하면 해결 됨. 

 

1. "아나콘다경로/Library/bin/" 경로 열기

2. 아래 네 가지 파일들을 복사해서

  • libcrypto-1_1-x64.dll
  • libcrypto-1_1-x64.pdb
  • libssl-1_1-x64.dll
  • libssl-1_1-x64.pdb

3. "아나콘다경로/DLLs/" 경로에 붙여넣기

 

 

 

다시 C:\Users\LG>conda install -c conda-forge tensorflow 명령어 입력

 

또 오류발생

 

해결방법

 conda를 최신 버전으로 업데이트

명령어 : conda update --all

 

 

'Python > DL' 카테고리의 다른 글

CNN 이해하기 (2)  (0) 2023.05.08
CNN 이해하기 (1)  (0) 2023.05.02
딥러닝의 학습 방법  (0) 2023.03.19
활성화 함수, 과적합, 기울기 소실  (0) 2023.03.19
퍼셉트론 , ANN vs DNN  (0) 2023.03.19