Which version of urllib3 should I install? The requirements do not mention any information about urllib3.
Is it because the version of urllib3 is too high?
Here is some version information and error messages.
Versions of some packages related to CUDA and Pytorch in the Anaconda virtual environment
Traceback (most recent call last):
File "/home/asd/J/train.py", line 9, in <module>
import torchvision.transforms as transforms
File "/home/asd/anaconda3/envs/J-U_Net/lib/python3.10/site-packages/torchvision/__init__.py", line 5, in <module>
from torchvision import datasets, io, models, ops, transforms, utils
File "/home/asd/anaconda3/envs/J-U_Net/lib/python3.10/site-packages/torchvision/datasets/__init__.py", line 1, in <module>
from ._optical_flow import FlyingChairs, FlyingThings3D, HD1K, KittiFlow, Sintel
File "/home/asd/anaconda3/envs/J-U_Net/lib/python3.10/site-packages/torchvision/datasets/_optical_flow.py", line 12, in <module>
from .utils import _read_pfm, verify_str_arg
File "/home/asd/anaconda3/envs/J-U_Net/lib/python3.10/site-packages/torchvision/datasets/utils.py", line 22, in <module>
import requests
File "/home/asd/anaconda3/envs/J-U_Net/lib/python3.10/site-packages/requests/__init__.py", line 45, in <module>
from .exceptions import RequestsDependencyWarning
File "/home/asd/anaconda3/envs/J-U_Net/lib/python3.10/site-packages/requests/exceptions.py", line 7, in <module>
from urllib3.exceptions import HTTPError as BaseHTTPError
ModuleNotFoundError: No module named 'urllib3.exceptions'
Which version of urllib3 should I install? The requirements do not mention any information about urllib3. Is it because the version of urllib3 is too high?
Here is some version information and error messages. Versions of some packages related to CUDA and Pytorch in the Anaconda virtual environment
Error message: