python2.7 安装报错
Created by: Mryangkaitong
pip :20.2.2 python:2.7.5 安装cpu版本
命令
sudo pip2 install paddlepaddle -i https://mirror.baidu.com/pypi/simple
报错:
ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 216, in _main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper return func(self, options, args) File "/usr/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 325, in run reqs, check_supported_wheels=not options.target_dir File "/usr/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/usr/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/usr/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement(req) File "/usr/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 483, in prepare_linked_requirement req, self.req_tracker, self.finder, self.build_isolation, File "/usr/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata(finder, build_isolation) File "/usr/lib/python2.7/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata self._setup_isolation(finder) File "/usr/lib/python2.7/site-packages/pip/_internal/distributions/sdist.py", line 96, in _setup_isolation reqs = backend.get_requires_for_build_wheel() File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 161, in get_requires_for_build_wheel 'config_settings': config_settings File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 265, in _call_hook raise BackendUnavailable(data.get('traceback', '')) BackendUnavailable