Sublime Forum

WinError 2 everything was working fine 4 weeks ago

#1

May i please have some help. My path is correct but for the last couple of weeks this has been happening. i really don’t know what i did wrong. last time i was coding i was using Django.
I am using windows 8.1

[WinError 2] The system cannot find the file specified
[shell_cmd: python -u “C:\Users\Khanyi\Documents\python_learning_data_algorthims\hash_table.py”]
[dir: C:\Users\Khanyi\Documents\python_learning_data_algorthims]
[path: C:\Program Files (x86)\Lenovo\FusionEngine;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\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Users\Khanyi\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\Khanyi\AppData\Local\Programs\Python\Python38-32;C:\Users\Khanyi\AppData\Local\Programs\SublimeText\bin]
[Finished]

0 Likes

#2

Does running python -u "C:\Users\Khanyi\Documents\python_learning_data_algorthims\hash_table.py" from the command line work?

0 Likes

#3

yes it runs on the command line

0 Likes

#4

That exact command runs using cmd.exe? That’s pretty much exactly how Sublime Text executes python, so they shouldn’t have a different result.

0 Likes

#5

yes it worked, but the error still appears


0 Likes

#6

Have you tried running python -u "C:\Users\Khanyi\Documents\python_learning_data_algorthims\hash_table.py" (including the file path) from the command line?

0 Likes

#7

Sorry but is the command prompt and terminus the same thing as the command line? or is the command line its own thing?

0 Likes

#8

The command line is generally accessed using command prompt on windows.

0 Likes

#9

This is what happen, when i ran it via command line

0 Likes

#10

You seem to be running the command I pasted and the path from the output you’ve given. Please run the command I’ve given exactly: python -u "C:\Users\Khanyi\Documents\python_learning_data_algorthims\hash_table.py"

0 Likes

#11

Sorry for taking time responding.

This is what i get

0 Likes

#12

How can make the things i run on sublime text show up on the command prompt.
When i make a mistake writing code ,It only show the lines i made mistakes.

0 Likes

#13

You could try running it from the same directory, otherwise I’m out of ideas:

cd C:\Users\Khanyi\Documents\python_learning_data_algorthims
python -u "C:\Users\Khanyi\Documents\python_learning_data_algorthims\hash_table.py"
0 Likes

#14

Please can you find someone else to help me if you out of ideas. I really want to see every output i take when coding. please help me find a way to make the work appear on sublime

0 Likes

#15

Afternoon, is my build system correct?

0 Likes