Python Forum
error running python in sublime text3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error running python in sublime text3
#1
Hi trying to work python code in sublime text3 but getting following error
Error:
'python' is not recognized as an internal or external command, operable program or batch file. [Finished in 0.3s with exit code 1] [shell_cmd: python -u "C:\Users\Administrator\AppData\Local\Sublime Text 3\Cache\Python\myfile"]
My .py file is stored in c:\newfolder\firstfile.py
Reply
#2
Maybe watch a tutorial how to setup sublime text
Reply
#3
if __name__ == '__main__':
print("hellp")
try this....
this worked for me
Reply
#4
fine thanx I solved the error..now its working fine..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error "cannot identify image file" part way through running hatflyer 0 617 Nov-02-2023, 11:45 PM
Last Post: hatflyer
  Error when running kivy on python janeik 8 1,928 Jun-16-2023, 10:58 PM
Last Post: janeik
  while loop not working-I am using sublime text editor mma_python 4 1,060 Feb-05-2023, 06:26 PM
Last Post: deanhystad
  Getting error when running "MINUS" between 2 databases marlonbown 4 1,219 Nov-10-2022, 05:49 AM
Last Post: deanhystad
  Error while running code on VSC maiya 4 3,551 Jul-01-2022, 02:51 PM
Last Post: maiya
  Pandas - error when running Pycharm, but works on cmd line zxcv101 1 1,321 Jun-18-2022, 01:09 PM
Last Post: snippsat
  Sublime Text Editor not recognizing Python elroberto 5 2,803 Jun-13-2022, 04:00 PM
Last Post: rob101
  Error when running a matplot lib example aurelius_nero 3 6,694 Apr-24-2022, 01:24 PM
Last Post: Axel_Erfurt
  Keep getting Session management error when running imshow in pycharm pace 0 2,061 Mar-25-2021, 10:06 AM
Last Post: pace
  Code folding in Sublime Text Mondata 2 2,758 Mar-12-2021, 04:16 PM
Last Post: Mondata

Forum Jump:

User Panel Messages

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