Make sure that you use the correct version of ‘pip’ installed for your Python interpreter located at ‘dir:\projectPath\venv\Scripts\python.exe’

I imagine that you have more than one Python installed in your system.
you should go to Pycharm –> file> settings> project>project interpreter.

you should find the other Python instance on your system and try to change your interpreter to that one.
if it does not appear in the list click on the button that looks like star in front of the project interpreter.

I had the same problem.
I realized that I installed one python by myself and another is installed while installing PyCharm.

After changing my interpreter I do not receive that error anymore.

Leave a Comment