Closed wiggigemc489 closed 2 years ago
Have you installed the package mentioned in the README->requirements
?
hey, after i had a problem with my entire ubuntu i had to reinstall my whole system, after that i was able to install bluescan using the pip command and it worked. but when i run the bluescan i get this output:
Traceback (most recent call last):
File "/home/wiggige/.local/bin/bluescan", line 5, in
I saw your comment in issue11.
The removesuffix
is a python3.9 feature, which is not supported in python3.8. I think you installed bluescan using pip with python3.8. See pip -V
. So even though you have python3.9 installed, bluescan still runs under python3.8.
There are two solutions:
Solution 1
If python3.8 is the default python in your system, and you installed python3.9 later, you should install bluescan with sudo python3.9 -m pip install bluescan
. You may still get an error when executing this install command. See README->Requirements to solve it. This section mentioned the situation that python3.9 is not the default python.
Solution 2
The version of the default python in the latest Ubuntu or Kali is 3.9 or higher, so using the latest system could solve the problem.
hey/ when i put pip3 install bluescan i get this output: Building wheels for collected packages: pybluez Building wheel for pybluez (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [38 lines of output] 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/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-x86_64-3.9/bluetooth copying bluetooth/init.py -> build/lib.linux-x86_64-3.9/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-x86_64-3.9/bluetooth copying bluetooth/bluez.py -> build/lib.linux-x86_64-3.9/bluetooth copying bluetooth/ble.py -> build/lib.linux-x86_64-3.9/bluetooth copying bluetooth/msbt.py -> build/lib.linux-x86_64-3.9/bluetooth copying bluetooth/macos.py -> build/lib.linux-x86_64-3.9/bluetooth /usr/lib/python3/dist-packages/setuptools/lib2to3_ex.py:36: SetuptoolsDeprecationWarning: 2to3 support is deprecated. If the project still requires Python 2 support, please migrate to a single-codebase solution or employ an independent conversion process. warnings.warn( Fixing build/lib.linux-x86_64-3.9/bluetooth/btcommon.py build/lib.linux-x86_64-3.9/bluetooth/init.py build/lib.linux-x86_64-3.9/bluetooth/widcomm.py build/lib.linux-x86_64-3.9/bluetooth/bluez.py build/lib.linux-x86_64-3.9/bluetooth/ble.py build/lib.linux-x86_64-3.9/bluetooth/msbt.py build/lib.linux-x86_64-3.9/bluetooth/macos.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing build/lib.linux-x86_64-3.9/bluetooth/btcommon.py build/lib.linux-x86_64-3.9/bluetooth/init.py build/lib.linux-x86_64-3.9/bluetooth/widcomm.py build/lib.linux-x86_64-3.9/bluetooth/bluez.py build/lib.linux-x86_64-3.9/bluetooth/ble.py build/lib.linux-x86_64-3.9/bluetooth/msbt.py build/lib.linux-x86_64-3.9/bluetooth/macos.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma warning: build_py: byte-compiling is disabled, skipping.
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pybluez Running setup.py clean for pybluez Failed to build pybluez
I tried installing python3- dev but already have it and still can't build pybluez. any ideas?