[python] PackagesNotFoundError: The following packages are not available from current channels: pytorch==1.13.1

울며코드짜기·2024년 3월 3일

명령어 : conda install PyTorch

에러코드 :
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • pytorch==1.13.1

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

암튼저튼 설치가 안된다는 소리

발생이유 : pytorch는 cuda 즉 gpu가 있을 때 사용함
해결방안 : cpu 버전으로 설치 필요

conda install pytorch torchvision torchaudio cpuonly -c pytorch
or
pip install pytorch torchvision torchaudio cpuonly

참고 :
https://076923.github.io/posts/Python-pytorch-1/

profile
차라리 겨자 먹게 해주세요

1개의 댓글

comment-user-thumbnail
2024년 6월 16일

암튼저튼걸~

답글 달기