Flow-Launcher/Flow.Launcher
View on GitHubBUG: FlowLauncher doesn't recognize Python if installed via MS Store
Open
#1951 opened on Mar 3, 2023
bughelp wantedkeep-fresh
Description
Checks
- I have checked that this issue has not already been reported.
Problem Description
I installed Python 3.11 on Windows 11 via MS Store, then tried to add it to my Python Path in Flow Launcher; several attempts caused errors, until I finally found a workaround.
To Reproduce
- In General -> Python Path, try to choose a folder via Select
- Navigate to the folder
C:\Users\<user>\AppData\Local\Microsoft\WindowsApps, then select pythonw.exe - Error: "pythonw The file cannot be accessed by the system."
Alternatively:
- In General -> Python Path, try to choose a folder via Select
- Navigate to the folder
\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\, then select pythonw.exe - Close and restart Flow Launcher
- Try to use a plugin based on Python -> Flow Launcher throws an error message indicating it thinks that the error lies with the Python plugin, rather than Flow Launcher itself. But the error itself is just an Access Denied error: "Flow.Launcher.Core.ExternalPlugins.FlowPluginException: An error occurred trying to start process 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\pythonw.exe'"
Workaround:
- In General -> Python Path, manually enter the path
C:\Users\<user>\AppData\Local\Microsoft\WindowsApps\pythonw.exe - Close and restart Flow Launcher
- Try to use a plugin based on Python -> it works
Side note to this workaround: entering the path "%LOCALAPPDATA%\Microsoft\WindowsApps\pythonw.exe" somehow does not work; on restart, Flow Launcher thinks no Python path is set and asks me to set a Python path via the dialog from step 1, which does not work.
Screenshots
No response
Flow Launcher Version
1.14.0
Windows Build Number
10.0.22621.1265
Error Log
No response