Python Forum
In Visual Studio Python is not properly installed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In Visual Studio Python is not properly installed
#1
ScREEn Shot
Reply
#2
There might be other problems as well but quite clearly you cant run hellow.py file with command 'python hellow.python', it should be 'python hellow.py'
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#3
(Sep-23-2019, 02:49 AM)perfringo Wrote: There might be other problems as well but quite clearly you cant run hellow.py file with command 'python hellow.python', it should be 'python hellow.py'
perfringo,
I believe you are correct about the syntax of that statement. I copied mine from the tutorial video. It still did not work. This image contains the error message. I tried to copy it with a select followed buy a copy. It would not copy. How do I capture that output?
screen capture
Thank you for all your help.
Reply
#4
In case screen capture is unreadable here is another link
[Image: s!ApPUarHCMjuE0Wf2BzFBUPS6zTz3?e=7aufuN]
Reply
#5
python is not set in Windows Path.
See Python 3.6/3.7 and pip installation under Windows
Can either uninstall and install with Path marked on,or Fixing Path if needed in link.
Just to be clear it's called Environment Variables Path.
When python and pip command work from anywhere in command line(cmd/PS) or better cmder.

Then VS Code from start.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Launcher (on Windows) only necessary when 2 or more Python versions installed? pstein 1 264 Feb-17-2024, 12:43 PM
Last Post: deanhystad
  Python Coding in Power BI Visual vjrans 0 232 Jan-31-2024, 07:54 AM
Last Post: vjrans
  How to set PYTHONPATH in Visual Studio Code? aupres 5 3,763 Aug-15-2023, 03:51 PM
Last Post: snippsat
  How do I properly implement restarting a multithreaded python application? MrFentazis 1 586 Jul-17-2023, 09:10 PM
Last Post: JamesSmith
  how do I open two instances of visual studio code with the same folder? SuchUmami 3 815 Jun-26-2023, 09:40 AM
Last Post: snippsat
  Visual Studio Code NewPi 3 985 May-16-2023, 11:13 PM
Last Post: snippsat
  Visual Studio Code venv ibm_db error mesi1000 7 2,660 Nov-13-2022, 12:36 AM
Last Post: snippsat
  debugging help on Visual Studio Code mg24 12 1,899 Oct-02-2022, 12:18 AM
Last Post: mg24
  [Solved]Help Displaying Emails properly via Python Extra 5 1,125 Sep-28-2022, 09:28 PM
Last Post: deanhystad
  Problem with importing Python file in Visual Studio Code DXav 7 4,896 Jun-15-2022, 12:54 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020