Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency requires lib curl #1

Open
gabrielefronze opened this issue Aug 21, 2022 · 0 comments
Open

Dependency requires lib curl #1

gabrielefronze opened this issue Aug 21, 2022 · 0 comments

Comments

@gabrielefronze
Copy link
Member

When installing pycurl the following error arises:

Collecting pycurl
  Using cached pycurl-7.45.1.tar.gz (233 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0n0eo9fe/pycurl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0n0eo9fe/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-d7pt8rcl
         cwd: /tmp/pip-install-0n0eo9fe/pycurl/
    Complete output (22 lines):
    Traceback (most recent call last):
      File "/tmp/pip-install-0n0eo9fe/pycurl/setup.py", line 235, in configure_unix
        p = subprocess.Popen((self.curl_config(), '--version'),
      File "/usr/lib64/python3.9/subprocess.py", line 951, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/usr/lib64/python3.9/subprocess.py", line 1821, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-0n0eo9fe/pycurl/setup.py", line 1017, in <module>
        ext = get_extension(sys.argv, split_extension_source=split_extension_source)
      File "/tmp/pip-install-0n0eo9fe/pycurl/setup.py", line 673, in get_extension
        ext_config = ExtensionConfiguration(argv)
      File "/tmp/pip-install-0n0eo9fe/pycurl/setup.py", line 99, in __init__
        self.configure()
      File "/tmp/pip-install-0n0eo9fe/pycurl/setup.py", line 240, in configure_unix
        raise ConfigurationError(msg)
    __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

The system package manager lib curl should be installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant