All "yum" command failing due to python package is missing.

0

yum command is failing due to python package is missing. if try to solve the python package then its end up using yum.

Enter image description here

Anyone faced the same problem? Any known fix is available for this issue?

Enter image description here

질문됨 9달 전524회 조회
3개 답변
1
  1. Check python installation: python --version
  2. Check Python Path
  3. Check Python Packages: sudo yum reinstall python2 python3
  4. Update System: sudo yum clean all, sudo yum update
profile picture
답변함 9달 전
  • python version is 2.7.12, python path "/usr/bin/python2.7" Any of the yum command is not working. same error from screenshot.

0

Hi, this error may be fixed this way:

pip -v install pycurl --upgrade assuming that you have pip already installed (to install it if needed: see https://pip.pypa.io/en/stable/installation/)

Best,

Didier

profile pictureAWS
전문가
답변함 9달 전
  • Thanks for your response. It didn't help actually. main.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Exception information: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "/usr/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 321, in run reqs, check_supported_wheels=not options.target_dir File "/usr/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 180, 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 385, in _resolve_one dist = self._get_dist_for(req_to_install) File "/usr/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 337, in _get_dist_for dist = self.preparer.prepare_linked_requirement(req) File "/usr/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 480, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) File "/usr/lib/python2.7/site-packages/pip/_internal/operations/prepare.py

0

Maybe you have different Python versions installed: https://stackoverflow.com/a/23590760

profile picture
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인