I have a project on GitHub with a tox.ini file:
[tox]
envlist = py3
[testenv]
deps = -rrequirements.txt
commands =
pytest --doctest-modules
It works well. But when I replace "py3" with "py37", it fails with the error:
ERROR: py37: InterpreterNotFound: python3.7
As far as I know, tox should support Python 3.7. Is this a problem specifically with tox on github?
In the tox.ini file, write python3.7
instead of py37
and you will see that it works.
All credits to the Github user glinskyc for his thread on Github issues.
Also make sure that you are using the latest version for tox, that is 3.23.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With