tox not recognized as a command and wrong Python version

mluerig's Avatar


02 May, 2020 01:07 PM


I keep getting warnings implying that I am testing on Python 2, which I don't want (Python 3.7 only): "DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python...". I though I had set the correct Python version with - TOXENV: py37?

Also, tox is not recognized as a command and I get this warning: "WARNING: The scripts tox and tox-quickstart are installed in '/home/appveyor/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location." I tried to look for precedents, but couldn't find a solution to solve this.

Any help is appreciated!

This is my appveyor yml

- Ubuntu1804
- Visual Studio 2019
- macOS

    - development

  - TOXENV: py37


- pip install tox

- tox

and this is my tox.ini

envlist = py37

deps = .[test]
commands =
    pytest --cov
  1. Support Staff 1 Posted by Feodor Fitsner on 09 May, 2020 12:16 AM

    Feodor Fitsner's Avatar

    Hi Moritz,

    Could you drop a link to a build please (if it's public of course)?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac