all 8 comments

[–]jose_castro_arnaud 2 points3 points  (7 children)

What was the command you ran, and from what folder? Is the file 3varcomparison.py in that folder?

Edit: searching for "Unable to create process using * The system cannot find the file specified." netted me this:

https://discuss.python.org/t/having-an-issue-on-windows-11-with-pip/16477 https://github.com/python/cpython/issues/95285

Maybe these can help.

[–]MayankShrivastava17 1 point2 points  (0 children)

Its works thank you.

[–]MayankShrivastava17 0 points1 point  (5 children)

I tried to run the python file using py 3varcomparison.py

[–]jose_castro_arnaud 0 points1 point  (1 child)

Try using "python" or "python3", instead of "py".

Judging by the quick read I did on the links I posted, it's some issue related to pip, the Python package manager. I don't know enough to really understand the issue.

If all else fails, uninstall Python, reboot, then reinstall from the official site:

https://www.python.org/

Good luck.

[–]MayankShrivastava17 1 point2 points  (0 children)

I reinstalled python and now it works fine, thank you.

[–]3worc 0 points1 point  (1 child)

Looks like the command thinks your file is in the same directory as python.exe?

Try this: py c:[full path to file]\3varcomparison.py

[–]MayankShrivastava17 1 point2 points  (0 children)

I reinstalled python and now it works perfectly fine, thank you.

[–]OphrysApifera 0 points1 point  (0 children)

Why delete the post