when the package has already been installed by other users (in another environment), executing pip install pymagnitude would yield the following error:
Collecting pymagnitude
Using cached pymagnitude-0.1.143.tar.gz (5.4 MB)
ERROR: Command errored out with exit status 1:
command: /data-crystina/anaconda3/envs/maxp/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data-crystina/tmp/pip-install-m25zv94t/pymagnitude/setup.py'"'"'; __file__='"'"'/data-
crystina/tmp/pip-install-m25zv94t/pymagnitude/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '
"'"'exec'"'"'))' egg_info --egg-base /data-crystina/tmp/pip-pip-egg-info-u879g2v4
cwd: /data-crystina/tmp/pip-install-m25zv94t/pymagnitude/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/data-crystina/tmp/pip-install-m25zv94t/pymagnitude/setup.py", line 178, in <module>
'a+')
PermissionError: [Errno 13] Permission denied: '/tmp/magnitude.install'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
which is probably due to the mode of file /tmp/magnitude.install is rw-r--r-- so the file cannot be modified by other users.
when the package has already been installed by other users (in another environment), executing
pip install pymagnitude
would yield the following error:which is probably due to the mode of file
/tmp/magnitude.install
isrw-r--r--
so the file cannot be modified by other users.