Python installation not full and python not working 3.11.0

Anonymous
2023-03-10T23:38:20+00:00

Hello all,

I would like to ask you for help. I have been using Python 3.8 for almost 2 years and I decided to update to 3.11 (installed with admin rights). Initially everything was correct. But at some point Windows shows me that Python is being reinstalled (I don't have a message print screen ..), but from that time I cannot run Python at all on my PC.

So I tried to reinstall it several times with no success. All the time I receive this "The system cannot find the file C:\Users...\AppData\Local\Programs\Python\Python311\python.exe.”

But files are there:

Even when I try to run "python.exe" directly I receive this error:

System Variables are right (added it to both PATH):

  1. User Variables:

  1. System Variables

Strange thing is that after RE-Installing Python the "pip.exe" is missing in subfolder "Python/Scripts/" (it is simply empty – not installed but I mark pip to be installed):

I tried also Repair - no success.

Details:

System: Windows 10 (21H2)

Python: 3.11.0 (full 64bit installer from python.org)

cmd:

This is resulting that I cannot use interpreter in VS Code and continue development. Any one Any Idea? Thank you

Seems that there is something wrong in Windows.

S pozdravem

Jan Vaško

Windows for home | Windows 10 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Igor Leyko 108.1K Reputation points Independent Advisor
    2023-03-11T00:11:10+00:00

    Hi Jan,

    My name is Igor, it's a pleasure for me to help others and I'll do all my best to help you.

    It is more effective to ask such questions at Q&A forum https://learn.microsoft.com/en-us/answers/quest...

    It is oriented to programmers, admins and corporate users, and this forum - to home users so local experts may have no corresponding knowledge, sorry.

    2 people found this answer helpful.
    0 comments No comments
  2. Ramesh Srinivasan 173.7K Reputation points Volunteer Moderator
    2023-03-11T01:55:06+00:00

    Jan,

    See if you rename python.exe to python3.exe and run it.

    If it works, malware may have blocked python.exe via the registry. Download Farbar Recovery Scan Tool (FRST64.exe) and run it. Click "Scan". Upload FRST.txt and Addition.txt to your OneDrive and share the link here.

    2 people found this answer helpful.
    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more