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

Requried App Runtime 1.5 Not availbale anymore #12

Open
Thane5 opened this issue Oct 17, 2024 · 14 comments
Open

Requried App Runtime 1.5 Not availbale anymore #12

Thane5 opened this issue Oct 17, 2024 · 14 comments

Comments

@Thane5
Copy link

Thane5 commented Oct 17, 2024

Microsoft no longer offers Windows App Runtime 1.5 for download. Only versions beyond 1.6 are available. Therefore i can not run the demo projects.
image

@sotanakamura
Copy link
Owner

You can download Windows App SDK 1.5 in the following page.
https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads-archive

@sotanakamura
Copy link
Owner

I think 1.6 is compatible with 1.5. So you can use 1.6 instead of 1.5.

@Thane5
Copy link
Author

Thane5 commented Oct 26, 2024

i tried both 1.6 and 1.5 (1.5.0 and 1.5.7) None of them worked and the error popup came up everytime.

@sotanakamura
Copy link
Owner

It works in my environment. Did you install Python from https://www.python.org/?

@sotanakamura sotanakamura reopened this Oct 26, 2024
@Thane5
Copy link
Author

Thane5 commented Oct 26, 2024

Yes. Initially i ran everything form a virtual environment in PyCharm, but now i also tested it with my system wide python installation and launched it via the console. Still, same error.

@sotanakamura
Copy link
Owner

Please run the following command and send the output

where python

and ensure that the runtime is installed by running the following command

powershell Get-AppxPackage -Name "*WindowsAppRuntime*"

@Thane5
Copy link
Author

Thane5 commented Oct 26, 2024

where python returned nothing

here are the app runtimes the other command found:
image

@sotanakamura
Copy link
Owner

Please use command prompt

@Thane5
Copy link
Author

Thane5 commented Oct 26, 2024

Ah sorry, here is what CMD found:

C:\Users\myname\AppData\Local\Programs\Python\Python312\python.exe
C:\Users\myname\AppData\Local\Microsoft\WindowsApps\python.exe

@sotanakamura
Copy link
Owner

Please run the following command in the cloned repo

python winui-xaml.py

@Thane5
Copy link
Author

Thane5 commented Oct 26, 2024

that makes the error popup appear,

@sotanakamura
Copy link
Owner

After reinstalling Windows app runtime, I have had the same problem. I will explore it a little bit.

@sotanakamura
Copy link
Owner

The same issue is reported.
microsoft/WindowsAppSDK#4268

@sotanakamura
Copy link
Owner

It works on Windows 22H2.

Edition Windows 11 Enterprise
Version 22H2
OS build 22621.4391

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

No branches or pull requests

2 participants