[go: nahoru, domu]

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

feature: to add existing python to pyenv #177

Open
hsantos78 opened this issue Oct 30, 2020 · 3 comments
Open

feature: to add existing python to pyenv #177

hsantos78 opened this issue Oct 30, 2020 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@hsantos78
Copy link

Describe the bug
when checking python versions with pyenv versions , it only displays the versions installed with pyenv install 3.8.2 but does not display the python version 3.9.0 installed originally

To Reproduce
Steps to reproduce the behavior:

  1. Install Python 3.9.0 on windows 10
  2. Install pyenv with the instructions described in https://pyenv-win.github.io/pyenv-win/#installation
  3. execute pyenv install 3.8.2
  4. run pyenv versions
  5. Output says only 3.8.2

Expected behavior
to display both versions, 3.9.0 and 3.8.2

Screenshots
If applicable, add screenshots to help explain your problem.
imagen
imagen

Desktop (please complete the following information):

  • OS:windows 10 version 2004 build 19041.572
  • Tools used command prompt,
  • Version pyenv 2.64.3

Additional context
Add any other context about the problem here.

@hsantos78 hsantos78 changed the title bug: bug: does not detect installed python 3.9 Oct 30, 2020
@kirankotari
Copy link
Member

@hsantos78 that's as expected. We are not reading the entire system to identify the existing python in the machine. Hope you got the point.
There is a feature we thought of adding to pyenv-win is pyenv add which is not implemented yet. So this is expected.

@kirankotari kirankotari added the help wanted Extra attention is needed label Oct 31, 2020
@kirankotari kirankotari changed the title bug: does not detect installed python 3.9 feature: to add existing python to pyenv Oct 31, 2020
@blockchainOSINT
Copy link

@hsantos78 There is a workaround that allows you to use your previously installed "system" version of Python by linking to it in .pyenv\pyenv-win\versions

Check this comment for instructions: #6 (comment)

Thanks to @tarc for the solution

@thejcannon
Copy link

pyenv could check the registry to see what is installed (which is what the py launcher does). This is standard as of PEP 514

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants