-1

I'm looking to update Python packages. But by running this code

pip install --upgrade pandas

in Command Prompt, I get the following error

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\programdata\\anaconda3\\lib\\site-packages\\pip\\_internal\\build_env.py'
Consider using the `--user` option or check the permissions.

What is the problem?

Leo
  • 3
  • 3

1 Answers1

0

You don't have permissions. Either add a flag --user to your command or open a terminal as an administrator.

crusher083
  • 171
  • 2
  • 10