You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Error installing with pip within virtualenv on raspberry pi: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages'
#39
Open
harryjjacobs opened this issue
Jun 26, 2018
· 2 comments
When trying to install the latest version of pocketsphinx (or any for that matter) via pip (pip install pocketsphinx) whilst inside a virtualenv I get this error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages'
Consider using the `--user` option or check the permissions.
I've also tried installing it from source without pip and it still seems to be trying to install itself in the global /usr/lib/python2.7/site-packages directory rather than in the venv.
Any ideas?
The text was updated successfully, but these errors were encountered:
this error want to tell you, it has gone change os directory and its need your permission to do that and for that, you need to use these command pip install <package> --user or sudo python(x) -m pip install <package> but for avoiding to do that you must create venv and then if your venv was activated you never get that error if you see that error and you working in venv you might need to activate venv
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When trying to install the latest version of pocketsphinx (or any for that matter) via pip (pip install pocketsphinx) whilst inside a virtualenv I get this error:
I've also tried installing it from source without pip and it still seems to be trying to install itself in the global /usr/lib/python2.7/site-packages directory rather than in the venv.
Any ideas?
The text was updated successfully, but these errors were encountered: