Hello,
I’m facing a strange issue given that suddenly, i can not anymore import torchvision.
I removed and installed pytorch + torchvision but it did not help.
>>> import torchvision
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/renaud/anaconda3/envs/tfe/lib/python3.6/site-packages/torchvision/__init__.py", line 3, in <module>
    from torchvision import models
  File "/home/renaud/anaconda3/envs/tfe/lib/python3.6/site-packages/torchvision/models/__init__.py", line 5, in <module>
    from .inception import *
  File "/home/renaud/anaconda3/envs/tfe/lib/python3.6/site-packages/torchvision/models/inception.py", line 6, in <module>
    from torch.jit.annotations import Optional
ImportError: cannot import name 'Optional'

Can someone help me with this ?