pip-upgrader
pip-upgrader copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: 'pip': 'pip'
On our machines, only pip3
is installed. Would be nice to add support for this setup.
Simple workaround: Patch this https://github.com/simion/pip-upgrader/blob/b9caa5c45c4ab159adc488cdff721a26e679f984/pip_upgrader/packages_upgrader.py#L40 like this
- subprocess.check_call(['pip', 'install', pinned])
+ subprocess.check_call(['pip3', 'install', pinned])
Or add a symlink pip -> pip3 on your path, like the ubuntu package python-is-python3 does.