I am trying to install the python module Torch in Pycharm using PIP.
I have tried using commands:
pip install torch
pip3 install torch
pip3 install torch torchvision
All of these commands produce the same error:
File "......\snake\venv\lib\site-packages\pip-19.0.3
-py3.6.egg\pip\_internal\operations\prepare.py", line 90, in dist
self.req.source_dir))[0]
IndexError: list index out of range
Please may you tell me how to fix this error, or what causes it?