Skip to content

Mypy installs badly on OSX #5022

Closed
Closed
@ns-cweber

Description

@ns-cweber

I installed via pip3 install mypy --upgrade. No errors during install. I also tested inside of a pyenv.

  • Are you reporting a bug, or opening a feature request?

Bug

  • Please insert below the code you are checking with mypy,
    or a mock-up repro if the source is private. We would appreciate
    if you try to simplify your case to a minimal repro.
from typing import List
  • What is the actual behavior/output?
bug.py:1: error: No library stub file for standard library module 'typing'
bug.py:1: note: (Stub files are from https://github.com/python/typeshed)
bug.py:1: error: Cannot find 'builtins' module. Typeshed appears broken!
  • What is the behavior/output you expect?

No errors, or perhaps an unused import error or something?

  • What are the versions of mypy and Python you are using?
    Do you see the same issue after installing mypy from Git master?

mypy 0.600; python 3.6.4; not sure how to check git master

  • What are the mypy flags you are using? (For example --strict-optional)

No additional flags

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