'Pip Version / Dependency Issue

I've written a small script on my windows 11 machine which converts a vobject into a qrcode.

Cloned the repo to my windows 10 machine and installed the dependencies.

When I tried to install the dependencies I received the following errors:

WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)

You should consider upgrading via the 'C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.

What's strange to me is that it said the dependency requirement was already satisfied, and when I tried upgrading the pip version it didn't overwrite the previous version. I tried uninstalling both packages and it gave me the following error even though it clearly still existed in the site-packages folder

WARNING: Skipping qrcode as it is not installed.

For context: I'm using Windows 10 VsCode and the GitBash CLI

Pip Version == 21.2.4

Pip Upgrade == 22.0.3

Python Version == 3.10.1

Any help is greatly appreciated!



Sources

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

Source: Stack Overflow

Solution Source