Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

When I write in the terminal using python in VScode i can never write in the terminal like the tutorials are doing. how do I fix that?

this is what i get when I write in the terminal, (Im sorry, im super new)

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You are typing in a z shell, but you are trying to execute python code. To enter python’s interactive mode, you can simply type /usr/bin/local/python3 (or python3 directly might work if things are setup correctly on your computer).
Once you do that, you should see something like

Python 3.9.2 (default, Jul 16 2021, 11:47:35) 
[Clang 12.0.5 (clang-1205.0.22.11)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

in which you can type your lines of python code

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading