simion / pip-upgrader

An interactive pip requirements upgrader. It also updates the version in your requirements.txt file.
Apache License 2.0
512 stars 35 forks source link

No check for pip version results in failed command #21

Closed cocoonkid closed 4 years ago

cocoonkid commented 4 years ago

pipupgrade Checking... Traceback (most recent call last): File "/Users/cocoonkid/.pyenv/versions/3.7.1/bin/pipupgrade", line 10, in sys.exit(main()) File "/Users/cocoonkid/.pyenv/versions/3.7.1/lib/python3.7/site-packages/pipupgrade/cli/init.py", line 14, in wrapper return fn(*params) File "/Users/cocoonkid/.pyenv/versions/3.7.1/lib/python3.7/site-packages/pipupgrade/commands/init.py", line 178, in command format = "json", pipexec = pip) File "/Users/cocoonkid/.pyenv/versions/3.7.1/lib/python3.7/site-packages/pipupgrade/_pip.py", line 69, in call return popen(params, output = True) File "/Users/cocoonkid/.pyenv/versions/3.7.1/lib/python3.7/site-packages/pipupgrade/util/system.py", line 70, in popen raise sp.CalledProcessError(code, command) subprocess.CalledProcessError: Command '/Users/cocoonkid/.pyenv/shims/pip2 list --outdated --format json' returned non-zero exit status 127.

The command should run pip3 list --outdated --format json

Thank you for this great tool!

cocoonkid commented 4 years ago

Wrong project ;-)