Feb-07-2022, 04:02 PM
Hi there.
I've just started my first book for Python "Python Crash Course" and I faced my first problem.
I believe I installed Python correctly version 3.10, because cmd is recognizing Python command.
For example when I write
print ("Hello world!") - in cmd I am receiving Hello world! below.
When I use Sublime text and I wrote same thing I am having this:
[WinError 2] The system cannot find the file specified
[cmd: ['python3', '-u', 'C:\\Users\\Chris\\Desktop\\python_work\\hello_world.py']]
[dir: C:\Users\Chris\Desktop\python_work]
[path: C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Calibre2\;C:\Users\Chris\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\Chris\AppData\Local\Programs\Python\Python310\]
[Finished]
I created just a Python folder on my desktop and I saved the file as hello_world nothing else and it doesn't work.
Any help would be appreciated.
Thank you.
I've just started my first book for Python "Python Crash Course" and I faced my first problem.
I believe I installed Python correctly version 3.10, because cmd is recognizing Python command.
For example when I write
print ("Hello world!") - in cmd I am receiving Hello world! below.
When I use Sublime text and I wrote same thing I am having this:
[WinError 2] The system cannot find the file specified
[cmd: ['python3', '-u', 'C:\\Users\\Chris\\Desktop\\python_work\\hello_world.py']]
[dir: C:\Users\Chris\Desktop\python_work]
[path: C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Calibre2\;C:\Users\Chris\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\Chris\AppData\Local\Programs\Python\Python310\]
[Finished]
I created just a Python folder on my desktop and I saved the file as hello_world nothing else and it doesn't work.
Any help would be appreciated.
Thank you.