how can I fix permission denied error while trying

2020-01-29 22:10发布

When I try to install pyrebase i get this error message.

PermissionError: [Errno 13] Permission denied: /Users/myname/anaconda/lib/python3.6/site-packages/google/api

what can I do?

标签: python pip
2条回答
地球回转人心会变
2楼-- · 2020-01-29 22:35

Use sudo for linux or on windows run your command prompt as administrator

sudo pip install pyrebase
查看更多
Fickle 薄情
3楼-- · 2020-01-29 22:45

You need root/Administrator privileges.

On linux use sudo before command and on Windows you can open a command prompt as administrator by right clicking it and selecting run as administrator.

查看更多
登录 后发表回答