Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Permision problem pip
#1
Hi,
when I'm triying to do something with pip like download or do an update I have this error code or similiar but with another file :

1#
Error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'RECORD' Consider using the `--user` option or check the permissions.
2#
Error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/3.7' Consider using the `--user` option or check the permissions.
How I'm supposed to check the permissions as instructed or fix the problem?

Thank you
Reply
#2
please show pip commands
Reply
#3
i've encountered something similar when i tried to update pip version, i think if you log in to root (in linux), or maybe admin (in windows) - and run the update - it works
Reply
#4
(Apr-27-2020, 04:07 PM)Larz60+ Wrote: please show pip commands

For the first error message I had use this commands :
pip3 install --upgrade pip
For the other I had use this one :
pip3 install tensorflow




Everything works until I get this message (download is done before).

Thanks

(Apr-27-2020, 07:43 PM)astral_travel Wrote: i've encountered something similar when i tried to update pip version, i think if you log in to root (in linux), or maybe admin (in windows) - and run the update - it works
Thank you but I have already the admin rights !

Thanks again
Reply
#5
There is a hint i the error message.
pip3 install --user tensorflow
Look at [Errno 13] Permission denied How i solve this problem

Can also mention a tutorial here pyenv Simple Python Version Management
snippsat Wrote:No more using python3 or pip3 or sudo or --user when pip install something.
It's always python and pip to version set as global,eg pip install requests to global version.
Reply
#6
I will vouch for pyenv. Use it all the time.
Reply
#7
(Apr-29-2020, 10:02 AM)snippsat Wrote: There is a hint i the error message.
pip3 install --user tensorflow
Look at [Errno 13] Permission denied How i solve this problem

Can also mention a tutorial here pyenv Simple Python Version Management
snippsat Wrote:No more using python3 or pip3 or sudo or --user when pip install something.
It's always python and pip to version set as global,eg pip install requests to global version.

Thank you very much ! And for the hint I had no idea of where I could put it !

For pyenv there is indeed some advantage, I'm gonna try that soon.

Thank you again
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020