Reputation: 41
I've installed Python Anaconda in Windows 7, but I can't install pytorch in system.
Does anyone have an how idea to install PyTorch in a Windows 7 32-bit system?
Upvotes: 4
Views: 8938
Reputation: 1283
A few steps as described here may help to install Pytorch in Windows considering a specific case of Python 3.6:
Then go to the directory where you have downloaded the whl file and then press SHIFT and right click and select open command prompt here and then execute this:
pip install Shapely-1.6.3-cp36-cp36m-win_amd64.whl
For 32 bit:
pip install Shapely‑1.7.1‑cp36‑cp36m‑win32.whl
Then execute this command:
pip install Fiona‑1.7.13‑cp36‑cp36m‑win_amd64.whl
For 32 bit:
pip install Fiona‑1.8.17‑cp36‑cp36m‑win32.whl
Upvotes: 2
Reputation: 87
Official website offers lot of way to download PyTorch in different kinds of OS: https://pytorch.org/get-started/locally/
Take "pip" for example
You can see "amd64" in file name, which means it only works on 64bits computer.
Upvotes: 1
Reputation: 14131
In the Command Window type
conda install -c peterjc123 pytorch_legacy cuda80
(see peterjc123 comment), or
conda install pytorch torchvision -c pytorch
(see Tensors and Dynamic neural networks in Python).
Upvotes: -1