Created
June 13, 2015 08:37
-
-
Save alistra/c6c16e4b26736d318766 to your computer and use it in GitHub Desktop.
pip install python-dateutil on OS X 10.11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip python-dateutil | |
The directory '/Users/alistra/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/alistra/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. | |
/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. | |
InsecurePlatformWarning | |
Collecting python-dateutil | |
Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188kB) | |
100% |████████████████████████████████| 192kB 1.7MB/s | |
Collecting six>=1.5 (from python-dateutil) | |
Downloading six-1.9.0-py2.py3-none-any.whl | |
Installing collected packages: six, python-dateutil | |
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/basecommand.py", line 223, in main | |
status = self.run(options, args) | |
File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 297, in run | |
root=options.root_path, | |
File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 616, in install | |
requirement.uninstall(auto_confirm=True) | |
File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 721, in uninstall | |
paths_to_remove.remove(auto_confirm) | |
File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 126, in remove | |
renames(path, new_path) | |
File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 314, in renames | |
shutil.move(old, new) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 301, 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-w685Lz-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info' | |
Failed to install python-dateutil |
Simple because rootless feature now block you from removing anything under /Systems
, please disable rootless firstly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also seeing something similiar under OS X 10.11