mypy does not install
upwart last edited by
I am trying to install mypy with pip install mypy under Stash.
But I get the error message:
ERROR: You need Python 3.4 or later to use mypy.
although I am on Python 3.5 (not beta).
Is there a way to install mypy?
dgelessus last edited by
Stash runs under Python 2.7 even in Pythonista 3, so that is the Python version that the
setup.pywill see. Still a bit odd, I thought mypy works on Python 2.7 as well.
In any case it's probably easier to install it by hand: get the tar.gz download link from https://pypi.python.org/pypi/mypy,
wgetit using Stash, extract it with
tar -xzf <filename>.tar.gz. Then look into the extracted folder and move the
jgoalby last edited by
I decide to try mypy today. It seems that pip install mypy does now install mypy but ends up having problems accessing typed-ast package. It appears that typed-ast includes c code which does not run on Pythonista.
Back when this thread started a year ago mypy didn’t appear to use typed-ast so that wasn’t an issue. I tried installing older versions of mypy but had other issues with them.
Has anyone got mypy to work on Pythonista?
CastroSATT last edited by
Hiya I will say you can run stash under python 3.6 or what ever it is . just press go on the stash script it will show errors but I have found it to generally work if not manual install sorry dude and if there’s some c bits then it won’t work