Skip to content

Instantly share code, notes, and snippets.

@adampats
Created May 12, 2016 17:03
Show Gist options
  • Save adampats/fe2c84b78c17d3c0e7b2811c3e2f05f8 to your computer and use it in GitHub Desktop.
Save adampats/fe2c84b78c17d3c0e7b2811c3e2f05f8 to your computer and use it in GitHub Desktop.
python el capitan issues
sudo pip install saws --ignore-installed six
Password:
The directory '/Users/adam/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/adam/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting saws
Downloading saws-0.4.0.tar.gz
Collecting awscli>=1.7.46 (from saws)
Downloading awscli-1.10.27-py2.py3-none-any.whl (937kB)
100% |████████████████████████████████| 942kB 1.3MB/s
Requirement already satisfied (use --upgrade to upgrade): click>=4.0 in /Library/Python/2.7/site-packages (from saws)
Collecting configobj>=5.0.6 (from saws)
Downloading configobj-5.0.6.tar.gz
Collecting prompt-toolkit==0.52 (from saws)
Downloading prompt_toolkit-0.52-py2-none-any.whl (188kB)
100% |████████████████████████████████| 194kB 4.3MB/s
Collecting six>=1.9.0 (from saws)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting pygments>=2.0.2 (from saws)
Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB)
100% |████████████████████████████████| 757kB 1.7MB/s
Requirement already satisfied (use --upgrade to upgrade): enum34>=1.0.4 in /Library/Python/2.7/site-packages (from saws)
Collecting rsa<=3.3.0,>=3.1.2 (from awscli>=1.7.46->saws)
Downloading rsa-3.3-py2.py3-none-any.whl (44kB)
100% |████████████████████████████████| 51kB 10.0MB/s
Collecting s3transfer==0.0.1 (from awscli>=1.7.46->saws)
Downloading s3transfer-0.0.1-py2.py3-none-any.whl
Collecting colorama<=0.3.3,>=0.2.5 (from awscli>=1.7.46->saws)
Downloading colorama-0.3.3.tar.gz
Collecting botocore==1.4.18 (from awscli>=1.7.46->saws)
Downloading botocore-1.4.18-py2.py3-none-any.whl (2.3MB)
100% |████████████████████████████████| 2.3MB 453kB/s
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.10 in /Library/Python/2.7/site-packages (from awscli>=1.7.46->saws)
Collecting wcwidth (from prompt-toolkit==0.52->saws)
Downloading wcwidth-0.1.6-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.3 in /Library/Python/2.7/site-packages (from rsa<=3.3.0,>=3.1.2->awscli>=1.7.46->saws)
Requirement already satisfied (use --upgrade to upgrade): futures<4.0.0,>=2.2.0 in /Library/Python/2.7/site-packages (from s3transfer==0.0.1->awscli>=1.7.46->saws)
Requirement already satisfied (use --upgrade to upgrade): jmespath<1.0.0,>=0.7.1 in /Library/Python/2.7/site-packages (from botocore==1.4.18->awscli>=1.7.46->saws)
Collecting python-dateutil<3.0.0,>=2.1 (from botocore==1.4.18->awscli>=1.7.46->saws)
Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
100% |████████████████████████████████| 204kB 4.6MB/s
Installing collected packages: rsa, six, python-dateutil, botocore, s3transfer, colorama, awscli, configobj, pygments, wcwidth, prompt-toolkit, saws
Found existing installation: rsa 3.4.2
Uninstalling rsa-3.4.2:
Successfully uninstalled rsa-3.4.2
Found existing installation: six 1.4.1
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_set.py", line 726, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_install.py", line 746, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-2SlVWR-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment