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

cooperate with pyenv, when The pyenv is installed, and the python version required in Pipfile is not installed, it will automatically trigger pyenv to download and install the latest Python distro satisfy the requirement. #6147

Open
evan0greenup opened this issue Apr 28, 2024 · 0 comments

Comments

@evan0greenup
Copy link

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.

Check the diagnose documentation for common issues and the PEEP list before posting! We may close your issue if it is very similar to one of them. Please be considerate and follow the PEEP process, or be on your way.

Make sure to mention your debugging experience if the documented solution failed.

Is your feature request related to a problem? Please describe.

Currently, when the required Python version is not satisfied, it will fallback and use the default Python version which is available in the current system.

Describe the solution you'd like

If pyenv is installed, it will automatically invoke pyenv and download/install the latest version allowed by the requirement from Pipfile.

Describe alternatives you've considered

If this feature is overpowered, it can print a suggestion command like pyenv install <x.x.x> and user can copy and paste the command to install the expected python version.

It will not using default python version, it will raise an error and exit if there is now allowed python version available. Except, user pass certain flag to explicitly let the pipenv use the default python version to override the wanted python version.

Additional context

Add any other context or screenshots about the feature request here. It may be a good idea to mention that platform and Python version you are on.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@evan0greenup and others