Re: [gtk-osx-users] Permission denied: '/Library/Python/2.7/site-packages/typing-3.6.2.dist-info/DESCRIPTION.rst'

On Jul 28, 2019, at 1:10 AM, Pascal <p p14 orange fr> wrote:

I've the following error when running

$ 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:
Traceback (most recent call last):
 File "/Library/Python/2.7/site-packages/pip/_internal/cli/", line 179, in main
   status =, args)
 File "/Library/Python/2.7/site-packages/pip/_internal/commands/", line 75, in run
   auto_confirm=options.yes, verbose=self.verbosity > 0,
 File "/Library/Python/2.7/site-packages/pip/_internal/req/", line 817, in uninstall
   uninstalled_pathset.remove(auto_confirm, verbose)
 File "/Library/Python/2.7/site-packages/pip/_internal/req/", line 360, in remove
 File "/Library/Python/2.7/site-packages/pip/_internal/req/", line 257, in stash
   renames(path, new_path)
 File "/Library/Python/2.7/site-packages/pip/_internal/utils/", line 303, in renames
   shutil.move(old, new)
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 300, in move
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 252, in 
   onerror(os.remove, fullname, sys.exc_info())
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 250, in 
OSError: [Errno 13] Permission denied: 

Should we run with sudo?


Something is wrong with your setup, it's trying to use the Apple-provided Python2.7 instead of the Virtenv 
Python3.6. IIRC you want to run gtk-osx from removable media, is that the case here?

John Ralls

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]