[gtk-osx-users] Permission denied: '/Library/Python/2.7/site-packages/typing-3.6.2.dist-info/DESCRIPTION.rst'
- From: Pascal <p p14 orange fr>
- To: gtk-osx-users-list gnome org
- Subject: [gtk-osx-users] Permission denied: '/Library/Python/2.7/site-packages/typing-3.6.2.dist-info/DESCRIPTION.rst'
- Date: Sun, 28 Jul 2019 10:10:01 +0200
Hello,
I've the following error when running gtk-osx-setup.sh:
$ sh gtk-osx-setup.sh
<...>
Successfully installed enum34 pipenv virtualenv-clone
You are using pip version 19.0.3, however version 19.2.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.
Uninstalling typing-3.6.2:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip/_internal/commands/uninstall.py", line 75, in run
auto_confirm=options.yes, verbose=self.verbosity > 0,
File "/Library/Python/2.7/site-packages/pip/_internal/req/req_install.py", line 817, in uninstall
uninstalled_pathset.remove(auto_confirm, verbose)
File "/Library/Python/2.7/site-packages/pip/_internal/req/req_uninstall.py", line 360, in remove
moved.stash(path)
File "/Library/Python/2.7/site-packages/pip/_internal/req/req_uninstall.py", line 257, in stash
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip/_internal/utils/misc.py", line 303, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 300, in move
rmtree(src)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 250, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'/Library/Python/2.7/site-packages/typing-3.6.2.dist-info/DESCRIPTION.rst'
Should we run gtk-osx-setup.sh with sudo?
Thanks, Pascal.
http://blady.pagesperso-orange.fr
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]