fO-000 / bluing

An intelligence gathering tool for hacking Bluetooth
GNU General Public License v3.0
742 stars 99 forks source link

bluescan0.6.3安装报错 #12

Closed xilymen closed 3 years ago

xilymen commented 3 years ago

pip3 install bluescan报如下错误: ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nxuq2v3h/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo cwd: None Complete output (38 lines): Collecting setuptools Using cached setuptools-56.2.0-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB) Collecting pycairo Using cached pycairo-1.20.0.tar.gz (344 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Building wheels for collected packages: pycairo Building wheel for pycairo (PEP 517): started Building wheel for pycairo (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /tmp/tmpedz7y9up_in_process.py buildwheel /tmp/tmp7p40b0y1 cwd: /tmp/pip-install-slx4637/pycairo Complete output (15 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/cairo copying cairo/init.py -> build/lib.linux-x86_64-3.9/cairo copying cairo/init.pyi -> build/lib.linux-x86_64-3.9/cairo copying cairo/py.typed -> build/lib.linux-x86_64-3.9/cairo running build_ext Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.

ERROR: Failed building wheel for pycairo

Failed to build pycairo ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly

ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nxuq2v3h/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo Check the logs for full command output.

fO-000 commented 3 years ago

请问你是否安装了 README -> Requirements 中提到的 apt packages?如果没安装,先安装它们再尝试 pip3 装 bluescan。