ghostop14 / sparrow-wifi

Next-Gen GUI-based WiFi and Bluetooth Analyzer for Linux
GNU General Public License v3.0
1.16k stars 150 forks source link

Kali 2021.3 PyQT5 Installation problem #64

Open ElreboCM opened 2 years ago

ElreboCM commented 2 years ago

I followed the steps for installation under Kali 2020.3+.

When I try to run it I always get the following error:

Traceback (most recent call last): File "/home/kali/sparrow-wifi/sparrow-wifi.py", line 33, in from PyQt5.QtWidgets import QApplication, QMainWindow, QDesktopWidget, QGraphicsSimpleTextItem, QFrame, QGraphicsView RuntimeError: the sip module implements API v12.0 to v12.8 but the PyQt5.QtWidgets module requires API v12.9

I tried it via

sudo apt-get install python3-pip gpsd gpsd-clients python3-tk python3-setuptools python3-pyqt5.qtchart sudo pip3 install QScintilla gps3 dronekit manuf python-dateutil numpy matplotlib

and via pip but no luck either.

ghostop14 commented 2 years ago

Hmmm, sounds like something may be mismatched? Maybe there's an older already-installed version of something that needs an update? Maybe try something like pip3 install --upgrade sip? I haven't tested it out on the latest Kali yet but I'll have to give it a go on a fresh install.

ghost commented 2 years ago

I recommend you to use Sparrow-Wifi in a virtualenv, to prevent system dependancies updates, that leads to frequent issues.

Also kali is considering adding Saprrow into its repos, finally!!! I made the adding request 2 years ago, I hope it will be added real soon.

ghostop14 commented 2 years ago

Awesome! Someone was just asking me about that yesterday.

ghost commented 2 years ago

Good news!!!

Kali just added sparrow-wifi to its repos, check it out: https://gitlab.com/kalilinux/packages/sparrow-wifi

apt install sparrow-wifi