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

Not possible to install specific(major.minor.micro) python version with pyenv while creating new project #579

Closed
pgrzesik opened this issue Sep 16, 2017 · 6 comments

Comments

@pgrzesik
Copy link

I'm trying out the feature with installing python versions with pyenv (awesome work!) and I stumbled accross this one:

➜  pipenv --python 3.4
➜  Warning: Python 3.4 was not found on your system…
➜  Would you like us to install latest CPython 3.4 with pyenv? [Y/n]:

Which is expected behavior, however if I want to specify micro version e.g. 1, it doesn't offer option to install with pyenv witch results in:

➜  pipenv --python 3.4.1
➜  Warning: Python 3.4.1 was not found on your system…
➜  You can specify specific versions of Python with:
  $ pipenv --python path/to/python

Is that the correct behavior ?

@pgrzesik
Copy link
Author

Update:
I checked out how it's working and I understand that it's due to how versions are mapped in pipenv/cli.py.
Do you think it would be possible to make it work with major.minor.micro python versions?
Thanks for your awesome work!

@kennethreitz
Copy link
Contributor

Not at this time. You should always be using latest if any minor release, always.

@kennethreitz
Copy link
Contributor

support for python_full_version has now been added, as well as specifying minor releases.

@kennethreitz
Copy link
Contributor

however, it's difficult to find them on your path, so they may not be available.

@AlJohri
Copy link
Contributor

AlJohri commented Sep 19, 2017

@kennethreitz
Copy link
Contributor

no longer difficult to find them on your path! we did magic :)

This issue was closed.
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

3 participants