Hello Everyone,
I am using the python version 3.12.6.
I tried installing pip by using the script https://bootstrap.pypa.io/get-pip.py and the installation was successful, later I added the path to the environment variables as well.
However, when I am trying to check the version or access pip, I am getting the respective error,
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File "C:\Users\Kavya Sri\AppData\Local\Programs\Python\Python312\Scripts\pip.exe_main.py", line 4, in
ModuleNotFoundError: No module named ‘pip._internal’; ‘pip’ is not a package
I tried this command “py -m ensurepip --upgrade”, which says,
Looking in links: c:\Users\KAVYAS~1\AppData\Local\Temp\tmpd5al4sh5
Requirement already satisfied: pip in c:\users\kavya sri\appdata\local\programs\python\python312\lib\site-packages (24.2)
I tried this command as well “python -m pip --version”, which uninstalls the existing pip and reinstalled the pip again successfully.
Later, I tried this command “python -m pip --version”, which gives me the below error,
ERROR: Could not find a version that satisfies the requirement install (from versions: none)
ERROR: No matching distribution found for install
Kindly someone help me in resolving this issue
Thanks,
Kavya Sri Punna