Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pytorch installation in windows 7 32-bit sysytem

Tags:

python

windows

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?

like image 254
Manoj Kumar Avatar asked Nov 15 '25 21:11

Manoj Kumar


1 Answers

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.
like image 181
Trees Avatar answered Nov 18 '25 12:11

Trees