Solve ModuleNotFoundError: no module named 'pip' problem

created at 06-24-2021 views: 5

Today I want to install the WXPython Third Directory to write Python's GUI, I found that the PIP command cannot be executed under the CMD window.

The row prompts that I have a new version to be updated, and it is not successful after the update, but I didn't pay attention to it last night, I thought it's okay, but when I got up this morning. I found that the PIP command couldn't be used, and Module Named 'PIP appeared. 'This error. After querying the online discovery, this error can be corrected by two lines of simple CMD command line statements.

python -m ensurepip
python -m pip install --upgrade pip

At this point, PIP is fixed.

Please log in to leave a comment.