Skip to content

Installing chmutil on Mac

Chris Churas edited this page Jul 18, 2017 · 7 revisions

There are multiple ways to install chmutil via the pip command. Options 1 and 2 install chmutil into the main Python installation. Option 3 installs chmutil into directories under the current user's home directory.

Open a terminal and choose one of the install options below:

sudo pip install chmutil

Option 3) Installation without super user access

pip install --user chmutil

If this option is used then the following must be added to the user's path:

~/.local/bin

NOTE:

If installation fails with error about upgrading/installing the six package one can get around this by directly installing the six package as shown below and then running one of the options above.

curl https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55 > six-1.10.0.tar.gz
tar -zxf six-1.10.0.tar.gz
cd six-1.10.0
sudo python setup.py install

Other solutions to this issue can also be found here: https://stackoverflow.com/questions/29485741/unable-to-upgrade-python-six-package-in-mac-osx-10-10-2