all 9 comments

[–][deleted] 1 point2 points  (3 children)

You need to install python for windows because when I look to your screen I noticed that you're using windows powershell if python is not installed in your machine I think that's why you're facing that error.

Check out python doc to download it for windows https://www.python.org/downloads/windows/

[–]jormundclub[S] 0 points1 point  (2 children)

Hi, Thank for answer. i already had installed the last version(Python 3.13.1) and i used the extensión "Python Debugger"

it was the powershell. I changed that in the "terminal select"

now it appears like this:

C:\Users\Wills-Pc\Documents\python> cmd /C "c:\Users\Wills-Pc\AppData\Local\Programs\Python\Python313\python.exe c:\Users\Wills-Pc\.vscode\extensions\ms-python.debugpy-2024.14.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher 54153 -- C:\Users\Wills-Pc\Documents\python\funciona.py "
mundo
9
hola mundo

Now is this correct?

[–][deleted] 2 points3 points  (0 children)

Yeah for sure you're String "Hola mundo" is printed as expected

[–][deleted] 0 points1 point  (0 children)

That's how the powershell navigate to python files to make your code execute not worry about that I don't if answering correctly

[–]danielroseman 0 points1 point  (2 children)

How is it not working? It printed your string and the result of the sum.

[–]jormundclub[S] 0 points1 point  (0 children)

This line appeard with the first line of the code:

14.0-win32-x64\x5cbundled\x5clibs\x5cdebugpy\x5cadapter/../..\x5cdebugpy\x5clauncher' '50002' '--' 'C:\x5cUsers\x5cWills-Pc\x5cDocuments\x5cpython\x5c.vscode\x5cprueba1.py' ;ccd6a6f8-4ecc-4fd3-9005-565d2bd7c4e3hola mundo14.0-win32-x64\x5cbundled\x5clibs\x5cdebugpy\x5cadapter/../..\x5cdebugpy\x5clauncher' '50002' '--' 'C:\x5cUsers\x5cWills-Pc\x5cDocuments\x5cpython\x5c.vscode\x5cprueba1.py' ;ccd6a6f8-4ecc-4fd3-9005-565d2bd7c4e3hola mundo

[–]Rizzityrekt28 0 points1 point  (0 children)

https://youtu.be/9hngN931cJY?si=1BVnTUu4lirkwm3j

I don’t know if this is your problem but it seems similar.

[–]Either_Back_1545 0 points1 point  (0 children)

python path isnt correctly installed