update update-imported-docs/update-imported-docs.py

pull/37504/head
shixiuguo 2022-10-25 17:00:44 +08:00
parent 453dd71949
commit 001c485337
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ error_msgs = []
# pip should be installed when Python is installed, but just in case...
if not (shutil.which('pip') or shutil.which('pip3')):
error_msgs.append(
"Install pip so you can install PyYAML. https://pip.pypa.io/en/stable/installing")
"Install pip so you can install PyYAML. https://pip.pypa.io/en/stable/installation")
reqs = subprocess.check_output([sys.executable, '-m', 'pip', 'freeze'])
installed_packages = [r.decode().split('==')[0] for r in reqs.split()]