guarinogabriel/Mac-CLI

pip upgrade syntax causing errors

kevdogg opened this issue · 1 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.

stale 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.