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

Support pyenv-win #277

Open
acelinkio opened this issue Dec 4, 2022 · 5 comments
Open

Support pyenv-win #277

acelinkio opened this issue Dec 4, 2022 · 5 comments

Comments

@acelinkio
Copy link

Is your feature request related to a problem? Please describe.
Support for pyenv-win. pyenv-win is pyenv for Windows.

Describe the solution you'd like
Add PYENV environmental variable to Python search path.

Describe alternatives you've considered
Use child_process.exec directly to call commands.

Additional context
Adding this logic to the library would be an immense help with encouraging a better Windows developer experience.

@acelinkio
Copy link
Author

@acelinkio
Copy link
Author

Even after setting the python path, was still getting issues. These are likely related to the shims added? Not entirely clear. pyenv-win/pyenv-win#352

2022-12-03 21:37:26.898 [error] Error: spawn C:UsersAcelink.pyenvpyenv-winshims ENOENT
	at Process.onexit (node:internal/child_process:283:19)
	at onErrorNT (node:internal/child_process:478:16)
	at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

vscode-python does not encounter this issue with shims, not entirely sure how.

@kirankotari
Copy link

@acelinkit to support exe files we have created a new PR pyenv-win/pyenv-win#463 have a look and let us know does this resolve the issue.

@acelinkio
Copy link
Author

I do not currently have a way to test. Appreciate your investigation but going to close due to inactivity on my side.

@supertick
Copy link

Hello,
Can this issue be re-opened?
I have the same issue, and could test.

@Almenon Almenon reopened this Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants