Python Forum
Script File Failure-Path Error?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script File Failure-Path Error?
#2
Your enviroment path variables look ok.
Open cmd and do this.
C:\>python -V
Python 3.10.5

C:\>pip -V
pip 22.3 from C:\python310\lib\site-packages\pip (python 3.10)
C:\>
For your this should work and point to Python 3.11.

The problem is that you most run it with whole file name include .py file extensions.
So like this.
C:\Users\jerry>python hello_world.py
Reply


Messages In This Thread
Script File Failure-Path Error? - by jerryf - Nov-27-2022, 04:02 PM
RE: Script File Failure-Path Error? - by snippsat - Nov-27-2022, 05:08 PM
RE: Script File Failure-Path Error? - by jerryf - Nov-27-2022, 08:19 PM
RE: Script File Failure-Path Error? - by snippsat - Nov-27-2022, 08:26 PM
RE: Script File Failure-Path Error? - by jerryf - Nov-27-2022, 08:54 PM
RE: Script File Failure-Path Error? - by snippsat - Nov-27-2022, 09:14 PM
RE: Script File Failure-Path Error? - by jerryf - Nov-27-2022, 11:00 PM
RE: Script File Failure-Path Error? - by snippsat - Nov-27-2022, 11:51 PM
RE: Script File Failure-Path Error? - by jerryf - Nov-28-2022, 10:09 AM
RE: Script File Failure-Path Error? - by jerryf - Nov-28-2022, 10:33 AM
RE: Script File Failure-Path Error? - by snippsat - Nov-28-2022, 07:15 PM
RE: Script File Failure-Path Error? - by jerryf - Nov-29-2022, 02:45 PM
RE: Script File Failure-Path Error? - by snippsat - Nov-29-2022, 07:04 PM
RE: Script File Failure-Path Error? - by jerryf - Nov-30-2022, 09:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Failure to run source command middlestudent 2 758 Sep-22-2023, 01:21 PM
Last Post: buran
  File path by adding various variables Mishal0488 2 1,113 Apr-28-2023, 07:17 PM
Last Post: deanhystad
  Dickey Fuller failure Led_Zeppelin 4 2,702 Sep-15-2022, 09:07 PM
Last Post: Led_Zeppelin
  Script Path tfernandes 8 2,328 Jul-07-2022, 09:48 PM
Last Post: tfernandes
  Simple Python script, path not defined dubinaone 3 2,753 Nov-06-2021, 07:36 PM
Last Post: snippsat
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,256 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  Assert failure jtcostel 1 1,673 Sep-03-2021, 05:28 PM
Last Post: buran
  Subprocess.Popen() not working when reading file path from csv file herwin 13 15,399 May-07-2021, 03:26 PM
Last Post: herwin
  Add file to sys.path permanently hcccs 5 8,611 Jan-31-2021, 11:26 AM
Last Post: hcccs
  Web Form to Python Script to Text File to zip file to web wfsteadman 1 2,181 Aug-09-2020, 02:12 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