'I deleted the Python25 folder from my computer and reinstalling python doesn't fix the problem

I had a problem where the python version in the folder C:/csvn/Python25 which was 2.7.1, kept overwriting the install of Python 3.10.2. So I thought it would be a smart idea to completely wipe it from my pc.

I have tried rebooting the system, reinstalling python, but nothing seems to help. What do I do?

The error I get: https://i.stack.imgur.com/f9YGa.png

edit*

  1. I have now identified the problem and have fixed it by simply downloading python from the Microsoft marketplace (yes, i am very ashamed), but seems to have fixed the problem.
  2. I also believe the problem lies in how the system prioritizes different versions of python installed on the system. So if anyone has a problem with conflicting versions they should macbe try reinstalling python from the marketplace.


Solution 1:[1]

  1. I have now identified the problem and have fixed it by simply downloading python from the Microsoft marketplace (yes, i am very ashamed), but seems to have fixed the problem.

  2. I also believe the problem lies in how the system prioritizes different versions of python installed on the system. So if anyone has a problem with conflicting versions they should macbe try reinstalling python from the marketplace.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 crim6ix