xenia icon indicating copy to clipboard operation
xenia copied to clipboard

Support Python from the Windows Store when building

Open Joshua-Ashton opened this issue 4 years ago • 6 comments

Joshua-Ashton avatar Sep 25 '19 15:09 Joshua-Ashton

This shouldn't be necessary, it should be picked up by where automatically?

gibbed avatar Sep 25 '19 16:09 gibbed

It didn't however:

C:\Users\joshu\Desktop\Code\xenia>python3 --version
Python 3.7.4

C:\Users\joshu\Desktop\Code\xenia>python --version
Python 3.7.4

C:\Users\joshu\Desktop\Code\xenia>xb setup
'""""' is not recognized as an internal or external command,
operable program or batch file.
ERROR: Python version mismatch, not at least 3.4.
Found Python executable was """".

Python 3.4+ must be installed and on PATH:
https://www.python.org/

Until I made that change.

Joshua-Ashton avatar Sep 25 '19 16:09 Joshua-Ashton

That's a legitimate bug then. This would be a bandaid fix for that.

What does where python output for you?

gibbed avatar Sep 25 '19 16:09 gibbed

C:\Users\joshu>where python
C:\Users\joshu\AppData\Local\Microsoft\WindowsApps\python.exe

C:\Users\joshu>where python3
C:\Users\joshu\AppData\Local\Microsoft\WindowsApps\python3.exe

I regret installing it from the Windows Store 😛

Joshua-Ashton avatar Sep 25 '19 16:09 Joshua-Ashton

the windows store python works with xb for me so that's strange

Razzile avatar Sep 25 '19 22:09 Razzile

Any update on this? I recently ran into this problem on one of my machines despite not actually touching my python install

Razzile avatar Aug 26 '20 22:08 Razzile