Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mypy 0.471 not finding typed-ast 1.0.0 when using --fast-parser #2862

Closed
@brettcannon

Description

@brettcannon

python3 -c "from typed_ast import ast27, ast3" doesn't raise an ImportError and yet running mypy keeps telling me:

You must install the typed_ast package before you can run mypy with `--fast-parser`.
You can do this with `python3 -m pip install typed-ast`.

It looks like mypy 0.471 imports typed_ast.ast35 which doesn't exist in typed_ast 1.0.0.

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