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 upgrade syntax causing errors #188

Closed kevdogg closed 1 year ago

kevdogg commented 1 year ago

I've seen this listed on google search for about the last two weeks.

I'm getting an error on your script:

Updating installed pip packages...
pip list --outdated --format=freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U

ERROR: List format 'freeze' can not be used with the --outdated option.
Updating installed pip3 packages...
pip3 list --outdated --format=freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip3 install -U

ERROR: List format 'freeze' can not be used with the --outdated option.

I think a json format needs to be used.

stale[bot] commented 1 year 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.