Manoj Kumar
Manoj Kumar

Reputation: 41

pytorch installation in windows 7 32-bit sysytem

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

Answers (3)

Trees
Trees

Reputation: 1283

A few steps as described here may help to install Pytorch in Windows considering a specific case of Python 3.6:

  1. First, we need to install Shapely. For this download Shapely as Shapely-1.6.3-cp36-cp36m-win_amd64.whl from here. For 32bit windows use this Shapely‑1.7.1‑cp36‑cp36m‑win32.whl

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

  1. Secondly, we need to install Fiona. For this go to Gohlke and download Fiona‑1.7.13‑cp36‑cp36m‑win_amd64.whl, or for 32 bit use this Fiona‑1.8.17‑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

  1. Third and final step is to download PyTorch download and install the latest torch whl (for example torch-1.5.0+cpu-cp37-cp37m-win_amd64.whl) or using pip install torch For other Python or Torch Versions check the wheels here.

Upvotes: 2

ching-yu
ching-yu

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

MarianD
MarianD

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

Related Questions