New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad `Requested Python version (X.Y) not installed` output #692

Closed
jurko-gospodnetic opened this Issue Dec 1, 2017 · 2 comments

Comments

Projects
2 participants
@jurko-gospodnetic
Contributor

jurko-gospodnetic commented Dec 1, 2017

When running tox (at least on Windows) and there is and there is a test environment defined in the tox configuration file for which a suitable Python interpreter version is not installed on the system, tox output incudes stderr output like Requested Python version (X.Y) not installed.

The error described above occurs even when just running tox with the --help command-line option, and even if explicitly requesting a different test environment using the -e command-line option.

For example, when running tox --help with the current tox master (20215c1) with only Python 2.7 & 3.6 installed, I get the following output:

(venv) D:\Workplace\Open-source\Python tox>tox --help
Requested Python version (3.4) not installed
Requested Python version (3.5) not installed
usage: tox [--version] [-h] [--help-ini] [-v] [--showconfig] [-l] [-a]
           [-c CONFIGFILE] [-e envlist] [--notest] [--sdistonly]
           [--installpkg PATH] [--develop] [-i URL] [--pre] [-r]
           [--result-json PATH] [--hashseed SEED] [--force-dep REQ]
           [--sitepackages] [--alwayscopy] [--skip-missing-interpreters]
           [--workdir PATH]
           [args [args ...]]
...
@jurko-gospodnetic

This comment has been minimized.

Contributor

jurko-gospodnetic commented Dec 1, 2017

Pull request #686 added to address the issue.

@gaborbernat

This comment has been minimized.

Member

gaborbernat commented Dec 5, 2017

Resolved by #686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment