> Le 28 juil. 2019 à 15:47, John Ralls <jra...@ceridwen.us> a écrit : > >> On Jul 28, 2019, at 1:10 AM, Pascal <p....@orange.fr> wrote: >> >> 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? > > No. > > 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?
Yes John, I've set: $ xnadasrc=`pwd` $ export DEVROOT=$xnadasrc $ export PIP_CONFIG_DIR=$xnadasrc/.config/pip $ export XDG_CONFIG_HOME=$xnadasrc/.config $ sh ~/Desktop/gtk-osx-setup.sh Have I forgot something else? Thanks, Pascal. http://blady.pagesperso-orange.fr _______________________________________________ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list