1. 필요한 프로그램 설치

 

   참고 : https://theorydb.github.io/dev/2020/02/14/dev-dl-setting-local-python/ 

 

[Setup] 딥러닝 개발 환경 구축 한방에 끝내기

개요 딥러닝이라는 긴 여정을 위한 첫 단계. 딥러닝 개발 환경 구축을 위한 포스팅입니다. 환경설정으로 인한 시간낭비를 최소화 하고자 대부분의 내용을 총정리합니다. 목차 사전 확인사항 및

theorydb.github.io

 

2. Anaconda prompt에서 conda로 설치 시

 solving environment:failed with initial frozen solve. Retrying with flexible solve 

메시지 뜨면서 fail나는 오류 해결방법

 

   참고 : https://angelplayer.tistory.com/247

 

[Anaconda 에러] Solving environment: failed with initial frozen solve. Retrying with flexible solve. 해결

에러 Solving environment: failed with initial frozen solve. Retrying with flexible solve. 원인 conda가 최신 버전이 아닌 경우 발생할 수 있는 에러입니다. 해결 방법 Anaconda Prompt를 열어서 진행합니다. $ pip install --upg

angelplayer.tistory.com

 

3. opencv 설치 오류 시 참고

    Trying 'Ninja(Visual Studio 17 2022 x64 v143)' generator...

    오류메시지 출력 등등

https://stackoverflow.com/questions/71715228/i-cant-install-opencv-python-because-i-dont-have-vs

 

I can't install opencv-python because I don't have vs?

whenever I try to pip install opencv-python it comes with an error saying I need to install visual studio 2022 but I already have it installed. I'm completely out of ideas for how to fix this and r...

stackoverflow.com

 

4. jupyter notebook 열고 GPU 정보 확인하는데 다음과 같은 에러가 뜨면 GPU 로 선택을 안 해서 생긴 문제임

해결 참고 : https://hengbokhan.tistory.com/75

 

[jupyter notebook]tensorflow-gpu 사용 설정하기

이 게시물은 tensorflow-gpu의 설치 과정을 기록한 문서이다. (환경은 OS: window 10, GPU: NVIDIA Geforce GTX 1650) 이하의 설치 및 진행과정은 노트북의 사양에 따라 달라질 수 있다. 다만 순서는 달라지지 않

hengbokhan.tistory.com

conda install tensorflow-gpu

를 다시 해주니까 잘 된다.

 

 

5. git clone 을 쓰기 위한 설치

jupyterlab 3.0에서 git 설치하기 (tistory.com)

 

jupyterlab 3.0에서 git 설치하기

1.설치 명령어 pip $ pip install --upgrade jupyterlab jupyterlab-git $ jupyter lab build conda $ conda install -c conda-forge jupyterlab jupyterlab-git $ jupyter lab build 2. 설정해줘야 하는 것 ~/.jupyter/jupyter_notebook_config.py #수정해

parading.tistory.com

 

6. 그 이후 여러가지 오류들을 만났는데...

AssertionError: Torch not compiled with CUDA enabled 

는 torch와 cuda 버전이 안 맞아서 생긴 오류란다...

torch를 다시 깔아주자...

Previous PyTorch Versions | PyTorch

'지식 > 컴퓨터' 카테고리의 다른 글

[웹개발-플라스크] 1. 개발환경 만들기  (0) 2019.05.05