Vscode terminal

Asked

Viewed 295 times

-2

I’m having doubts in the terminal of vscode with Python:

When I enter the product folder and type Python version 2 appears, but in the footer of vscode is identified as Python 3.

When python type 3 appears:

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '3': [Errno 2] No such file or directory

I’m having a little trouble using the terminal, I would like a link with tips. I know it’s a simple question, but I’m caught up in it there.

  • Are you using Mac? If so, you need to download version 3.x of python from: https://www.python.org/

  • What is this "product paste"?

  • I downloaded everything, I’m not getting the domain I’m in class 55 to 71 of COD3R na udemy ja refiz this module to know what I’m jumping and nothing. I’ve downloaded version 3.x

1 answer

0


The integrated vscode terminal has no relation to vscode itself, if you want to run codes written in python3, you need to type python3.py file. .

That python that appears in vscode as itself, only influences if you do a run or debug by vscode itself, detection of libs installed (linting), among other things.

NOTE: python3 needs to be together, without spaces.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.