본문 바로가기

Program Language/Computer Setting

Anaconda - Vscode - OpenCV - Torch 설치 22.11.19

1. 아나콘다 설치

아나콘다 프롬프트에서 설치

conda update --all

conda info --envs

conda create -n "campus" python=3.10

-> 그냥 설치하면 3.11 설치되며 torch가 conda 명령으로 정상설치 안됨.

잘못된 경우 삭제

conda remove -n "campus" --all

활성화

conda activate campus

--> 가능하면 conda로 설치해야 아나콘다에서 관리함으로 충돌안남.

2. pytorch 설치

conda install pytorch torchvision torchaudio cpuonly -c pytorch

3. opencv 설치

conda install -c conda-forge opencv

4. 라이브러리 설치

pip install matplotlib numpy termcolor scipy navpy pandas jupyter notebook scikit-learn

conda install -c conda-forge kornia

5. vscode 설치

ctrol + shift +p : interprete 아까 생성한 환경으로 설정