Skip to content

"Could not find builtins" error #915

Closed
@wizzardx

Description

@wizzardx

Hi there.

With the latest dev version of mypy (currently 47b40a7) - since my most recent git pull, I get this error when trying to run mypy:


test.py:1: error: Could not find builtins

Where this is the complete contents of test.py:


!/usr/bin/env python3.4

print("HELLO WORLD")

And the command-line is:


mypy test.py

(Where I am under a Python virtualenv, where the latest dev version of mypy has been installed).

I ran a git bisect to track down where this issue started, and ended up at this commit where - in my testing - this problem starts manifesting:


commit 2c009ca
Author: Ben Longbons [email protected]
Date: Tue Jun 30 22:18:20 2015 -0700

Move script to mypy.main module and just leave stubs

This is a breaking issue for me - for now I need to do my dev/testing against the commit prior to that, 2e591dc, where the problem has not yet manifested.

Please advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions