greatscottgadgets / libbtbb

A Bluetooth baseband decoding library
GNU General Public License v2.0
184 stars 88 forks source link

make - No module named distutils.core #67

Closed mister-owl closed 1 year ago

mister-owl commented 1 year ago

Error when running the make command:

Consolidate compiler generated dependencies of target btbb [ 88%] Built target btbb [100%] Generating build/timestamp /home/julian/libbtbb/build/python/pcaptools/setup.py:13: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup Traceback (most recent call last): File "/home/julian/libbtbb/build/python/pcaptools/setup.py", line 13, in from distutils.core import setup ModuleNotFoundError: No module named 'distutils.core' make[2]: [python/pcaptools/CMakeFiles/pcapdump.dir/build.make:74: python/pcaptools/build/timestamp] Error 1 make[1]: [CMakeFiles/Makefile2:201: python/pcaptools/CMakeFiles/pcapdump.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

mister-owl commented 1 year ago

Solved with sudo apt-get install python3-distutils