Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 머신러닝
- pytorch
- jupyter notebook
- conda
- wsl2
- Reinforce Learning
- RuntimeError
- 밑바닥부터 시작하는 딥러닝
- tfrecord
- 가상환경
- VMwawre
- 메모리 제한
- ubuntu
- window
- cudnn
- cuda
- docker
- 신경망
- 딥러닝
- 오류 해결
- 밑시딥1
- 원격 데스크톱
- torchmetrics
- gpu 설정
- 경사법
- StyleGAN
- .wslconfig
- GPU
- Anaconda
- window11
Archives
- Today
- Total
이제라도 기록하기
[오류 해결] ERROR: no matching distribution found for torch==1.7.1+cu110 본문
Error
[오류 해결] ERROR: no matching distribution found for torch==1.7.1+cu110
sssky00 2024. 6. 3. 01:06발생한 오류
도커에서 가상환경을 구축하려고 도커파일에 다음과 같은 명령어를 실행시키도록 했는데
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
다음과 같은 오류가 발생하였다.
no matching distribution found for torch==1.7.1+cu110
no matching distribution 오류는 해당 버전의 PyTorch 패키지를 찾을 수 없을 때 발생한다.
해결 방법
python 버전을 3.8로 변경해주면 위 버전을 그대로 설치해줄 수 있다.
본인의 경우는 도커로 환경을 구축하는 중이었고 도커 파일을 통해서 miniconda도 설치하기 때문에 도커 파일에 다음과 같은 명령어를 추가하여서 해결하였다.
conda install python==3.8.13
Reference
https://stackoverflow.com/questions/75823700/i-am-unable-to-install-pytorch-1-7-1-using-pip-conda
'Error' 카테고리의 다른 글
[오류 해결] curl: command not found - ubuntu (0) | 2024.06.03 |
---|---|
[오류 해결] module 'tensorflow._api.v2.io' has no attribute 'tf_record_iterator' (0) | 2024.06.03 |
[오류 해결] unrar : command not found error - ubuntu (0) | 2024.06.03 |
[오류 해결] unzip : command not found - ubuntu (0) | 2024.06.03 |
[오류 해결] runtimeerror: dataloader worker (pid(s) 1534, 1535) exited unexpectedly (0) | 2024.06.03 |