Skip to content
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

Display python version requirement #5805

Closed
bkestelman opened this issue Sep 21, 2018 · 3 comments
Closed

Display python version requirement #5805

bkestelman opened this issue Sep 21, 2018 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR

Comments

@bkestelman
Copy link

Environment

  • pip version: 18.0
  • Python version: 3
  • OS: Ubuntu 16.04

Description
When I try to install a package that requires a higher version of python than the one I'm on, it is hard to tell that the error is caused by the python version.

Expected behavior
Pip should clearly state that the package cannot be installed because a different version of python is required. It should also specify which version is required.

How to Reproduce

  1. Check that python version is lower than package requirement (e.g. pyenv local <version>)
  2. Install package with higher required version than that of environment.
    pip install <package>
    As an example, I used my own package 'edinterface' which requires python 3.6 on an environment running python 3.5.2

Output

  Could not find a version that satisfies the requirement <package> (from versions: )
No matching distribution found for

The required version is not specified. Also, it is not clear if 'version' refers to a python version, pip version, or package version.

@di
Copy link
Member

di commented Sep 21, 2018

I think this is a duplicate of #5003.

@pradyunsg
Copy link
Member

Yep. I agree.

@pradyunsg pradyunsg added the resolution: duplicate Duplicate of an existing issue/PR label Sep 22, 2018
@lock
Copy link

lock bot commented Jun 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 1, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

3 participants