ImportError: cannot import name ‘Optional‘ from ‘torch.jit.annotations‘ (F:\Python37\lib\site-packag

Directly on the command line, enter

PIP install torch = 1.2.0 torchvision = 0.4.0 -f https://download.pytorch.org/whl/torch_stable.html
successfully solved

Read More: