ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
jedi 0.17.2 requires parso<0.8.0,>=0.7.0, but you'll have parso 0.8.0 which is incompatible.
import pip
from pip._internal.utils.misc import get_installed_distributions
from subprocess import call
import time
for dist in get_installed_distributions():
print(dist.project_name)
for dist in get_installed_distributions():
call("pip install --upgrade " + dist.project_name, shell=True)