Skip to content
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

Typeshed appears broken #4852

Closed
kedpter opened this issue Apr 4, 2018 · 4 comments
Closed

Typeshed appears broken #4852

kedpter opened this issue Apr 4, 2018 · 4 comments

Comments

@kedpter
Copy link

kedpter commented Apr 4, 2018

hi, when I installed mypy by typing python3 -m pip install -U mypy,
and then run mypy test.py.

test.py:1: error: Cannot find 'builtins' module. Typeshed appears broken!

I download the source code git clone --recurse-submodules https://github.com/python/mypy.git .
Under mypy folder, python3 -m mypy test.py works. But after installed it, it still report the error above.

It seems to be missing typeshed library. Need help, thanks

python(as python2.7.10), python3 (as python3.6.4)
mac osx 10.11.6

@kedpter
Copy link
Author

kedpter commented Apr 4, 2018

After serveal hours debugging, i installed python3.6.5 and everything seems to work. So wield...

@kedpter kedpter closed this as completed Apr 4, 2018
@gvanrossum
Copy link
Member

gvanrossum commented Apr 4, 2018 via email

@kishdubey
Copy link

mypy/__init__.py:1: error: Cannot find 'builtins' module. Typeshed appears broken! [misc] # This page intentionally left blank ^ Found 1 error in 1 file (errors prevented further checking)

I am having the same issue. I have installed python version 3.6.5, but it still does not seem to work. @kedpter do you have any other ideas?

@gvanrossum
Copy link
Member

I recommend heading over to Gitter (see this project's README for a link) and supplying information like platform and mypy version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants