Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/certifi-2019.6.16.dist-info' Consider using the --user option or check the permissions. #46

Open
wenkeat9191 opened this issue Jun 22, 2019 · 6 comments

Comments

@wenkeat9191
Copy link

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/certifi-2019.6.16.dist-info'
Consider using the --user option or check the permissions.

@chielb038
Copy link

having the same issue here, patiently waiting for the solution

@chielb038
Copy link

this is the message i'm receiving even though i've got python 3.7 installed?

Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/v1/3jyz1fl95459vc_dw81756gr0000gn/T/pip-install-ko561s4i/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/v1/3jyz1fl95459vc_dw81756gr0000gn/T/pip-record-v1dsbafr/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/v1/3jyz1fl95459vc_dw81756gr0000gn/T/pip-install-ko561s4i/regex/
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/v1/3jyz1fl95459vc_dw81756gr0000gn/T/pip-install-ko561s4i/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/v1/3jyz1fl95459vc_dw81756gr0000gn/T/pip-record-v1dsbafr/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/v1/3jyz1fl95459vc_dw81756gr0000gn/T/pip-install-ko561s4i/regex/
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7

@chielb038
Copy link

we'll be waiting on the man himself @timgrossmann

@khansaad1275
Copy link

same error for me please help

@ialexd9
Copy link

ialexd9 commented Jul 2, 2019

hey i have a solution.

1-setup a virtual env to install the package (recommended):

python3 -m venv env
source ./env/bin/activate 
python -m pip install google-assistant-sdk[samples]

2-Install the package to the user folder:
python -m pip install --user google-assistant-sdk[samples]
3-use sudo to install to the system folder (not recommended)
sudo python -m pip install google-assistant-sdk[samples]
thank me later

@Sh1n1x
Copy link

Sh1n1x commented Jul 26, 2019

hey i have a solution.

1-setup a virtual env to install the package (recommended):

python3 -m venv env
source ./env/bin/activate 
python -m pip install google-assistant-sdk[samples]

2-Install the package to the user folder:
python -m pip install --user google-assistant-sdk[samples]
3-use sudo to install to the system folder (not recommended)
sudo python -m pip install google-assistant-sdk[samples]
thank me later

The best is to send the original link : googlesamples/assistant-sdk-python#236 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants