Search code examples
pythonvisual-studio-codepippycharm

Pip install upgrade denied


Everytime I try to upgrade pip on VSC or Pycharm, I get: ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\program files\python38\lib\site-packages\pip-19.2.3.dist-info\entry_points.txt' Consider using the --user option or check the permissions.

Is there problem with accessing it bc administrator did not allow it?


Solution

  • It's simple 'cause here is a hint in the error "Consider using the --user option or check the permissions."

    pip install --upgrade <Module-Name> --user
    

    You could take a look at my other answer with the same problem link