Access denied when updating PIP

Asked

Viewed 5,622 times

1

I am running the following command at the Windows prompt

pip install --upgrade pip

And I’m getting a mistake:

Permissionerror: [Winerror 5] Access denied: 'd: Leonardo python Django-treinaweb env scripts Pip.exe'

Remembering I’m inside a virtualenv.

2 answers

2


Tries to execute the cmd as an administrator. Goes to inicio/accesorios/Command Prompt and of clique direito/ executar como administrador.

then try the same command:

pip install --upgrade pip
  • It worked. But I think it’s because I was inside the virtualenv. Sometimes I was pointing to another place, think it might be this?

1

pip install --upgrade pip --user 

Will work.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.