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

Auto-detect Python Installs from Microsoft Store #788

Closed
yodaldevoid opened this issue Jan 28, 2022 · 2 comments · Fixed by #944 or #949
Closed

Auto-detect Python Installs from Microsoft Store #788

yodaldevoid opened this issue Jan 28, 2022 · 2 comments · Fixed by #944 or #949
Labels
enhancement New feature or request

Comments

@yodaldevoid
Copy link

On Windows, maturin supports python installed from python.org installers through py.exe and python installed from Conda through, well, conda. Neither of these methods support installs from the Microsoft Store.

I believe the Unix-style method of finding all installed versions of python would work for installs from the Microsoft Store as it does create the required python3.x.exe executables.

@yodaldevoid yodaldevoid added the enhancement New feature or request label Jan 28, 2022
@messense
Copy link
Member

messense commented Feb 4, 2022

Taking a note here:

https://docs.microsoft.com/en-us/windows/python/faqs#what-is-py-exe-

HOWEVER, the py.exe launcher will only work if you are using a version of Python installed from python.org. When you install Python from the Microsoft Store, the py command is not included.

@yodaldevoid
Copy link
Author

I have not found #944 to fix this issue.

> maturin list-python
🐍 0 python interpreter found:

> python3.10 --version
Python 3.10.4

> python3.9 --version
Python 3.9.13

> python3.8 --version
Python 3.8.10

> python3.7 --version
Python 3.7.9

>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants