|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
pip3 list
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 11, in <module>
load_entry_point('pip==21.0.1', 'console_scripts', 'pip3')()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2411, in load
return self.resolve()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2417, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/cli/main.py", line 8, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/cli/autocompletion.py", line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/cli/cmdoptions.py", line 22, in <module>
from pip._internal.cli.progress_bars import BAR_TYPES
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/cli/progress_bars.py", line 9, in <module>
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/utils/logging.py", line 14, in <module>
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/utils/misc.py", line 29, in <module>
from pip._internal.locations import get_major_minor_version, site_packages, user_site
File "/usr/local/lib/python3.7/site-packages/pip-21.0.1-py3.7.egg/pip/_internal/locations.py", line 59, in <module>
site_packages = sysconfig.get_path("purelib") # type: Optional[str]
File "/root/Python-3.7.3/Lib/sysconfig.py", line 513, in get_path
return get_paths(scheme, vars, expand)[name]
File "/root/Python-3.7.3/Lib/sysconfig.py", line 503, in get_paths
return _expand_vars(scheme, vars)
File "/root/Python-3.7.3/Lib/sysconfig.py", line 172, in _expand_vars
_extend_dict(vars, get_config_vars())
File "/root/Python-3.7.3/Lib/sysconfig.py", line 551, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/root/Python-3.7.3/Lib/sysconfig.py", line 422, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata_m_linux_x86_64-linux-gnu' |
|