Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on start of the program #13

Open
xtauck opened this issue Sep 4, 2020 · 4 comments
Open

Error on start of the program #13

xtauck opened this issue Sep 4, 2020 · 4 comments

Comments

@xtauck
Copy link

xtauck commented Sep 4, 2020

This is what I get, any suggestions? All the dependencies are installed

kali@kali:~/pbtk$ ./gui.py Traceback (most recent call last): File "./gui.py", line 20, in <module> from views.fuzzer import ProtobufItem, ProtocolDataItem File "/home/kali/pbtk/views/fuzzer.py", line 5, in <module> from PyQt5.QtWebEngineWidgets import QWebEngineView ImportError: libQt5WebEngineWidgets.so.5: cannot open shared object file: No such file or directory

@marin-m
Copy link
Owner

marin-m commented Sep 5, 2020

Hello,

Have you tried installing this package? If no, does it solve the issue?

sudo apt install libqt5webenginewidgets5

@xtauck
Copy link
Author

xtauck commented Sep 5, 2020

I installed the package you suggested and I got another error when trying to run it

root@kali:/home/kali/pbtk# ./gui.py Traceback (most recent call last): File "./gui.py", line 20, in <module> from views.fuzzer import ProtobufItem, ProtocolDataItem File "/home/kali/pbtk/views/fuzzer.py", line 5, in <module> from PyQt5.QtWebEngineWidgets import QWebEngineView ImportError: /lib/x86_64-linux-gnu/libQt5Core.so.5: version Qt_5.15' not found (required by /usr/local/lib/python3.8/dist-packages/PyQt5/QtWebEngineWidgets.abi3.so)

@marin-m
Copy link
Owner

marin-m commented Sep 6, 2020

Maybe that you could try to run this command:

sudo apt install python3-pyqt5.qtwebengine python3-pyqt5

And, if it does not still work, uninstalling the local PyQt install,

sudo pip3 uninstall pyqt5 pyqtwebengine

Could you tell whether it solves the issue?

Thanks,

@xtauck
Copy link
Author

xtauck commented Sep 8, 2020

the first command seems to have fixed it, I'll try it a bit I hope now it's all ok.
Thanks!

marin-m added a commit that referenced this issue Sep 8, 2020
…n order to advise using the PyQt version from the operating system's repositories, for a better compatibility with recent distributions not packaging the same binary Qt distributions as PIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants