There is no built-in flag for this feature yet. in lieu
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
Why don't you use
It's also possible to create and execute Python code like this.
import pip
from subprocess import call
for dist in pip.get_installed_distributions():
call("pip install --upgrade " + dist.project_name, shell=True)
© 2024 OneMinuteCode. All rights reserved.