- Newest
- Most votes
- Most comments
- Check python installation:
python --version
- Check Python Path
- Check Python Packages:
sudo yum reinstall python2 python3
- Update System:
sudo yum clean all, sudo yum update
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
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
Maybe you have different Python versions installed: https://stackoverflow.com/a/23590760
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
python version is 2.7.12, python path "/usr/bin/python2.7" Any of the yum command is not working. same error from screenshot.