Closed MrIslamAIman closed 7 months ago
Create a batch (.bat) file with the first line being whatever command you run it with, and the second line being pause
.
There's a 99% chance it does give an error, it just closes right after! This stops it.
Let me know what error you get when you do this.
need to till u it is a new device with fresh windows11 pro it give no error even when i try it from cmd admin run it throw cmd and cmd admin even click on the py file dont get me any news
Try running with python
instead of py
... you're checking the version with python
so that's what I'd expect to work!
nope didn't work the same result nothing shows a hint: when I install the Python I chose (install for all users ) which makes it installed at (c:\program files) does this make any changes? and i choose the (path) option too
Can you run any other Python scripts?
after checking it was a python problem i uninstall it and install it again and all good =D sorry for all the disturb and thanks for the fast answers
i have a problem when i run the file it close immediately without any errors i checked most of the closed case and still no help i will leave here a pic to make sure that i did everything right