0

I'm using Sublime text text editor on Ubuntu 20.04 downloaded from Ubuntu software. When I try running a Python script it gives me "bash : python : command not found" then gives me the path to 'snap' where the sublime text was downloaded to. How do I fix this so that Python scripts run on the Sublime text text editor?

  • 1
    I think it should be 'python' with lowercase letter 'p'! – George Udosen Jun 19 at 9:48
0

I think you used 'P' rather than 'p' for the python command. Update your command and it should run.

Make that python ... rather than Python ....

| improve this answer | |
  • I've corrected the typo. Might you have any solution to the problem? – Tsar Gatxy Jun 19 at 12:52
  • If this solve the first problem kindly acknowledge that by clicking on the check beside the answer, then ask another question! @tsargatxy – George Udosen Jun 19 at 12:59
  • my problem isn't fixed. A simple "print('Hello World')" is not running on my Sublime text editor. You've only criticized my earlier typo, I fail to see your solution to the question asked sir. – Tsar Gatxy Jun 19 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.