Deep Learning/PyTorch

ERROR: Failed building wheel for pytorch

Naranjito 2022. 12. 29. 14:51
  • Error
$ pip install pytorch

...

Building wheels for collected packages: pytorch
  Building wheel for pytorch (setup.py) ... error
  error: subprocess-exited-with-error

...

 

  • Solution

Must find the command here : https://pytorch.org/get-started/locally/

$ conda install pytorch -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: done

...

pip-22.3.1           | 2.8 MB    | ############################################## | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

'Deep Learning > PyTorch' 카테고리의 다른 글

model.eval() VS model.train()  (0) 2023.01.17
view vs reshape, contiguous vs non-contiguous  (0) 2023.01.11
Pytorch-contiguous  (0) 2022.12.05
PyTorch-permute vs transpose  (0) 2022.12.05
RNN  (0) 2022.08.22