出现异常:
root@linaro-alip:/data/FantClient# ./venv_py39_rk/bin/python3 -m pip install qrcode -i https://mirrors.aliyun.com/pypi/simple Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/userdata/FantClient/venv_py39_rk/lib/python3.9/site-packages/pip/__main__.py", line 23, in <module> from pip._internal.cli.main import main as _main # isort:skip # noqa File "/userdata/FantClient/venv_py39_rk/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 10, in <module> from pip._internal.cli.autocompletion import autocomplete File "/userdata/FantClient/venv_py39_rk/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module> from pip._internal.cli.main_parser import create_main_parser File "/userdata/FantClient/venv_py39_rk/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module> from pip._internal.cli import cmdoptions File "/userdata/FantClient/venv_py39_rk/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 25, in <module> from pip._internal.cli.progress_bars import BAR_TYPES File "/userdata/FantClient/venv_py39_rk/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py", line 8, in <module> from pip._vendor.progress.bar import Bar, FillingCirclesBar, IncrementalBar ModuleNotFoundError: No module named 'pip._vendor.progress'
解决方法:
apt install python3-pip
标签:named,vendor,cli,lib,No,internal,._,pip,main From: https://www.cnblogs.com/dearjazz/p/17848972.html