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

No way to install it #14

Open
gosforth opened this issue Feb 20, 2024 · 0 comments
Open

No way to install it #14

gosforth opened this issue Feb 20, 2024 · 0 comments

Comments

@gosforth
Copy link

Python 3.10.11

pip install chains
Collecting chains
  Using cached chains-0.2.0-py2.py3-none-any.whl (37 kB)
Collecting dpkt (from chains)
  Using cached dpkt-1.9.8-py3-none-any.whl (194 kB)
Collecting netifaces (from chains)
  Using cached netifaces-0.11.0.tar.gz (30 kB)
  Preparing metadata (setup.py) ... done
Collecting pcapy (from chains)
  Using cached pcapy-0.11.4.tar.gz (37 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\xxx\AppData\Local\Temp\pip-install-ky391e7j\pcapy_373b97e3e98c419fa2fa4a4310ec5871\setup.py", line 49, in <module>
          save_init_posix = sysconfig._init_posix
      AttributeError: module 'distutils.sysconfig' has no attribute '_init_posix'
      [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.

Any idea what can be the reason?
Regards

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