No way to install it
gosforth opened this issue · 0 comments
gosforth commented
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