-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
mypy >=0.510 errors in pathlib #3768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hm... Very strange, somehow you have got an old version of the pathlib stub there. What happens if you just rename |
A more permanent solution would be to just delete the whole |
Thanks! |
I had this problem when a dependency was installing mypy-lang while my project uses mypy. |
I have this problem too. Uninstalling and reinstalling mypy .530 doesn't help. |
@alok have you searched and deleted all copies of |
Installing with |
When using mypy 0.501 I can successfully run it against my program.
With mypy 0.510 and 0.521 I get the following error:
Ubuntu 16.04, mypy installed globally via pip, pythons 2.7.12, 3.5.2
You can reproduce it with a trivial program that consists solely of:
The text was updated successfully, but these errors were encountered: