Created
April 17, 2018 21:36
-
-
Save amyreese/c20759267e08aa45b7ce4a29747f5337 to your computer and use it in GitHub Desktop.
mypy 0.590 breaks --python-version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jreese@jreese-mbp ~/workspace/aiosqlite +master » python3 --version | |
Python 3.6.4 | |
jreese@jreese-mbp ~/workspace/aiosqlite +master » mypy --version | |
mypy 0.580 | |
jreese@jreese-mbp ~/workspace/aiosqlite +master » mypy --ignore-missing-imports --python-version 3.5 aiosqlite | |
jreese@jreese-mbp ~/workspace/aiosqlite +master » pip3 install mypy==0.590 | |
Collecting mypy==0.590 | |
Downloading https://files.pythonhosted.org/packages/d6/e2/37a8a5dce634a094b90e13eda246a4b736a660124e78808f47fbad99f510/mypy-0.590-py3-none-any.whl (1.3MB) | |
100% |████████████████████████████████| 1.3MB 913kB/s | |
Requirement already satisfied: typed-ast<1.2.0,>=1.1.0 in /Users/jreese/.pyenv/versions/3.6.4/lib/python3.6/site-packages (from mypy==0.590) | |
Installing collected packages: mypy | |
Found existing installation: mypy 0.580 | |
Uninstalling mypy-0.580: | |
Successfully uninstalled mypy-0.580 | |
Successfully installed mypy-0.590 | |
jreese@jreese-mbp ~/workspace/aiosqlite +master » mypy --version | |
mypy 0.590 | |
jreese@jreese-mbp ~/workspace/aiosqlite +master » mypy --ignore-missing-imports --python-version 3.5 aiosqlite | |
usage: mypy [-h] [-v] [-V] [--python-version x.y] | |
[--python-executable EXECUTABLE] [--no-site-packages] | |
[--platform PLATFORM] [-2] [--ignore-missing-imports] | |
[--follow-imports {normal,silent,skip,error}] | |
[--disallow-any-unimported] [--disallow-any-expr] | |
[--disallow-any-decorated] [--disallow-any-explicit] | |
[--disallow-any-generics] [--disallow-untyped-calls] | |
[--disallow-untyped-defs] [--disallow-incomplete-defs] | |
[--check-untyped-defs] [--disallow-subclassing-any] | |
[--warn-incomplete-stub] [--disallow-untyped-decorators] | |
[--warn-redundant-casts] [--no-warn-no-return] [--warn-return-any] | |
[--warn-unused-ignores] [--warn-unused-configs] | |
[--show-error-context] [--no-implicit-optional] [--no-incremental] | |
[--quick-and-dirty] [--cache-dir DIR] [--cache-fine-grained] | |
[--skip-version-check] [--strict-optional] | |
[--strict-optional-whitelist [GLOB [GLOB ...]]] | |
[--always-true NAME] [--always-false NAME] [--junit-xml JUNIT_XML] | |
[--pdb] [--show-traceback] [--stats] [--inferstats] | |
[--custom-typing MODULE] [--custom-typeshed-dir DIR] | |
[--scripts-are-modules] [--config-file CONFIG_FILE] | |
[--show-column-numbers] [--find-occurrences CLASS.MEMBER] | |
[--strict] [--shadow-file SOURCE_FILE SHADOW_FILE] | |
[--any-exprs-report DIR] [--cobertura-xml-report DIR] | |
[--html-report DIR] [--linecount-report DIR] | |
[--linecoverage-report DIR] [--memory-xml-report DIR] | |
[--txt-report DIR] [--xml-report DIR] [--xslt-html-report DIR] | |
[--xslt-txt-report DIR] [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] | |
[files [files ...]] | |
mypy: error: Error: failed to find a Python executable matching version (3, 5), perhaps try --python-executable, or --no-site-packages? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment