Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
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
–
–
–
–
From a combination of the answers and resources provided here. What I did was:
through pyenv
I did install all python version I needed.
I did symlinked all of them in a bin folder which was already in my PATH. Symlinks already were named the same as tox was expecting: python3.7, python3.8 and pypy3
no renaming in tox was required
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.