# Gettinf error while installing beet

**URL:** <https://discourse.beets.io/t/gettinf-error-while-installing-beet/182>\
**Category:** Help\
**Created:** [September 20, 2017, 2:35am UTC](https://discourse.beets.io/t/gettinf-error-while-installing-beet/182 "2017-09-20T02:35:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![canadian\_buyer](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/canadian_buyer/32/72_2.png) [@canadian\_buyer](https://discourse.beets.io/u/canadian_buyer)\
**Post date:** [September 20, 2017, 2:35am UTC](https://discourse.beets.io/t/gettinf-error-while-installing-beet/182/1 "2017-09-20T02:35:50Z")

</div>

Hi  
I am trying to install beets but I am getting the following error:

$ sudo pip install beets  
The directory ‘/Users/manmeetbhangu/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/manmeetbhangu/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 beets  
Downloading beets-1.4.5.tar.gz (1.4MB)  
100% |████████████████████████████████| 1.5MB 757kB/s  
Collecting six\>=1.9 (from beets)  
Downloading six-1.11.0-py2.py3-none-any.whl  
Collecting mutagen\>=1.33 (from beets)  
Downloading mutagen-1.38.tar.gz (913kB)  
100% |████████████████████████████████| 921kB 1.1MB/s  
Collecting munkres (from beets)  
Downloading munkres-1.0.12-py2.py3-none-any.whl  
Collecting unidecode (from beets)  
Downloading Unidecode-0.04.21-py2.py3-none-any.whl (228kB)  
100% |████████████████████████████████| 235kB 3.0MB/s  
Collecting musicbrainzngs\>=0.4 (from beets)  
Downloading musicbrainzngs-0.6.tar.gz (111kB)  
100% |████████████████████████████████| 112kB 4.9MB/s  
Collecting pyyaml (from beets)  
Downloading PyYAML-3.12.tar.gz (253kB)  
100% |████████████████████████████████| 256kB 2.3MB/s  
Collecting jellyfish (from beets)  
Downloading jellyfish-0.5.6-cp27-none-macosx\_10\_11\_x86\_64.whl  
Collecting enum34\>=1.0.4 (from beets)  
Downloading enum34-1.1.6-py2-none-any.whl  
Installing collected packages: six, mutagen, munkres, unidecode, musicbrainzngs, pyyaml, jellyfish, enum34, beets  
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-9.0.1-py2.7.egg/pip/basecommand.py”, line 215, in main  
status = self.run(options, args)  
File “/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py”, line 342, in run  
prefix=options.prefix\_path,  
File “/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req\_set.py”, line 778, in install  
requirement.uninstall(auto\_confirm=True)  
File “/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req\_install.py”, line 754, in uninstall  
paths\_to\_remove.remove(auto\_confirm)  
File “/Library/Python/2.7/site-packages/pip-9.0.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-9.0.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-frDLoC-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info’

Can someone help. I am not too tech savy, hence my knowledge is limited to understand the errors.

Regards

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [September 20, 2017, 3:14am UTC](https://discourse.beets.io/t/gettinf-error-while-installing-beet/182/2 "2017-09-20T03:14:23Z")

</div>

Please see the documentation about SIP. [http://docs.beets.io/en/v1.4.5/guides/main.html#installing-on-macos-10-11-and-higher](http://docs.beets.io/en/v1.4.5/guides/main.html#installing-on-macos-10-11-and-higher)
