Error installing torchvision: cannot import PILLOW_VERSION from PIL

The method of using !pip in Jupyter has been verified twice by myself and other classmates without any issues; at least this way it can be installed and used.

  • Install jupyter with pip in a fresh virtual environment
  • Use !pip to install torch inside Jupyter

If you want to know more about why such issues occur and how to solve them, you can search for the keywords related to this problem.

https://blog.csdn.net/denglavender/article/details/111707097