Skip to content

Typeshed appears broken #4852

Closed
Closed

Description

@kedpter

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

Activity

  1. kedpter commented on Apr 4, 2018

    @kedpter
    Author

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

  2. gvanrossum commented on Apr 4, 2018

    @gvanrossum
    Member
  3. kishdubey commented on Nov 6, 2020

    @kishdubey

    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?

  4. gvanrossum commented on Nov 6, 2020

    @gvanrossum
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions