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

Reticulate discovering Windows App Store Python #1656

Closed
t-kalinowski opened this issue Sep 3, 2024 · 1 comment · Fixed by #1673
Closed

Reticulate discovering Windows App Store Python #1656

t-kalinowski opened this issue Sep 3, 2024 · 1 comment · Fixed by #1673

Comments

@t-kalinowski
Copy link
Member

On a Windows machine with multiple Python installations, including a pyenv installation as well as the Windows App Store version of Python, reticulate appears to be selecting the Windows App Store Python over others. Reticulate should avoid using the App Store Python, as it is often incomplete or generally problematic.

> keras3::install_keras(backend = "tensorflow")
Warning message:
In FUN(X[[i]], ...) :
  running command '"C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\python.exe" -c "import sys; print(sys.platform)"' had status 127
@t-kalinowski
Copy link
Member Author

Full traceback, kindly provided by @juliasilge

> keras3::install_keras()
Error in `FUN()`:
! (converted from warning) running command '"C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\python.exe" -c "import sys; print(sys.platform)"' had status 127
Hide Traceback1. └─keras3::install_keras()
 2.   └─reticulate::virtualenv_create(...)
 3.     └─reticulate::virtualenv_starter(version)
 4.       ├─reticulate (local) find_starters(py_exe())
 5.       └─reticulate::py_exe()
 6.         └─reticulate::py_discover_config()
 7.           └─base::vapply(...)
 8.             └─base (local) FUN(X[[i]], ...)

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

Successfully merging a pull request may close this issue.

1 participant