I am getting this mistake when trying to run the command pip install torchviz==0.0.2. I am using python version 3.9.12 and torch version 1.12.0.
Does anyone know why I can’t install torchviz via the command window or what the problem is?
It seems to be working for me:
pip install torchviz==0.0.2
Collecting torchviz==0.0.2
Downloading torchviz-0.0.2.tar.gz (4.9 kB)
Preparing metadata (setup.py) ... done
Collecting torch
Downloading torch-1.12.1-cp38-cp38-manylinux1_x86_64.whl (776.3 MB)
but I don’t know why it’s failing on your system. Maybe try to download the wheel and install it directly from here.
1 Like