To help you understand the issue:
- I'm Reporting a bug
- So far I have mypy installed using PyPI (
pip install mypy). Also, I have torch installed (pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html). In code, I'm using the module torch.jit.
- What is the actual behavior/output?
Module has no attribute "jit"
- What is the behavior/output you expect? No error
- What are the versions of mypy and Python you are using? I tried mypy 0.760, 0.761 as well as 0.720 (I was using this earlier, which had no error). Python version is 3.6.9.
- I'm using no extra flags, just
mypy -p proj
Please feel free to edit the issue
To help you understand the issue:
pip install mypy). Also, I have torch installed (pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html). In code, I'm using the moduletorch.jit.Module has no attribute "jit"mypy -p projPlease feel free to edit the issue