guarinogabriel / Mac-CLI

 macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
MIT License
8.86k stars 334 forks source link

'pip install' should use --user flag on MacOS Mojave #159

Closed Sirclicksalot closed 2 years ago

Sirclicksalot commented 5 years ago

In trying to install/use mac-cli on a brand new install of Mojave (10.14.2), I was unable to install glances (resolved by installing via brew install glances) or successfully run the pip portion of mac update with the command as currently formatted.

Specifically; pip list --outdated --format=freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U results in a whole long list of Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/....', '/private/var/folders/...', "[Errno 1] Operation not permitted: whereas substituting pip install --user worked like a charm.

I know I could try to find/make these changes, and submit a PR, but I'm still not exactly a paragon of confidence in coding/github/etc. So I'm just letting anyone know who might care.

bskiefer commented 4 years ago

+1

ChasLui commented 4 years ago

+1

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.