Код: Выделить всё
from chains import generate_chain, reflection_chain
Код: Выделить всё
ModuleNotFoundError: No module named 'chains'
Код: Выделить всё
!pip install chains
Код: Выделить всё
Collecting chains
Using cached chains-0.2.0-py2.py3-none-any.whl.metadata (5.7 kB)
Collecting dpkt (from chains)
Using cached dpkt-1.9.8-py3-none-any.whl.metadata (1.7 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)
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
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.
Подробнее здесь: https://stackoverflow.com/questions/790 ... med-chains