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

Unable to install using pip3 #70

Closed
henning410 opened this issue Apr 29, 2024 · 0 comments
Closed

Unable to install using pip3 #70

henning410 opened this issue Apr 29, 2024 · 0 comments

Comments

@henning410
Copy link

I tried to install using
pip3 install APIFuzzer

I get the following error:

Collecting APIFuzzer
  Downloading APIFuzzer-0.9.13-py3-none-any.whl.metadata (5.4 kB)
Collecting kittyfuzzer==0.7.4 (from APIFuzzer)
  Downloading kittyfuzzer-0.7.4-py2.py3-none-any.whl.metadata (5.3 kB)
Collecting pycurl==7.43.0.6 (from APIFuzzer)
  Downloading pycurl-7.43.0.6.tar.gz (222 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 222.9/222.9 kB 2.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      /tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py:933: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(distutils.__version__) > LooseVersion("1.0.1"):
      /tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py:935: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(distutils.__version__) < LooseVersion("1.0.3"):
      Traceback (most recent call last):
        File "/tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py", line 236, in configure_unix
          p = subprocess.Popen((self.curl_config(), '--version'),
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/usr/lib/python3.11/subprocess.py", line 1953, 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 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py", line 988, in <module>
          ext = get_extension(sys.argv, split_extension_source=split_extension_source)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py", line 649, in get_extension
          ext_config = ExtensionConfiguration(argv)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py", line 101, in __init__
          self.configure()
        File "/tmp/pip-install-uevcps_j/pycurl_0127d67802e3426da1c69b759fa553b8/setup.py", line 241, in configure_unix
          raise ConfigurationError(msg)
      ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Software environment:

  • OS: Kali GNU/Linux
  • Python version: Python 3.11.8
  • APIFuzzer Version:
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