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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pip upgrade syntax causing errors

kevdogg opened this issue · comments

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.

commented

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.