permission denied when installing tensorflow on centos 7

dieter dieter at handshake.de
Tue May 1 02:09:29 EDT 2018


joseph pareti <joepareti54 at gmail.com> writes:
> here are details on my attempt:
> ...
> [joepareti54 at xxx tensorflow_tmpdir]$ pip3 install --upgrade virtualenv >>
> step3.txt 2>&1
> [joepareti54 at xxx tensorflow_tmpdir]$ cat step3.txt
> Collecting virtualenv
>   Downloading
> https://files.pythonhosted.org/packages/ed/ea/e20b5cbebf45d3096e8138ab74eda139595d827677f38e9dd543e6015bdf/virtualenv-15.2.0-py2.py3-none-any.whl
> (2.6MB)
> Installing collected packages: virtualenv
> Exception:
> Traceback (most recent call last):
> ...
>   File "/anaconda/envs/py35/lib/python3.5/shutil.py", line 115, in copyfile
>     with open(dst, 'wb') as fdst:
> PermissionError: [Errno 13] Permission denied:
> '/anaconda/envs/py35/lib/python3.5/site-packages/virtualenv.py'

It looks as it would try to overwrite an existing (write protected)
"virtualenv.py". Likely, it should not do that.

You could try to work around this problem by allowing to overwrite
"virtualenv.py" (and maybe other files as well) --> "chmod" command.




More information about the Python-list mailing list