adrienluitot / surfshark-linux-client

Surfshark Linux Client is simply a client for Linux for the VPN SurfShark. It’s made with python 3 and PyGObject (GTK).
MIT License
9 stars 2 forks source link

No Module "Crypto" #13

Closed 0x3mi closed 2 years ago

0x3mi commented 2 years ago

Hey folks, i got an issue here:

Traceback (most recent call last): File "/home/name/Programme/surfshark/surfshark-linux-client/surfshark_client.py", line 16, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'

i tried to open the programm with "sudo python3 surfshark_client.py" and this error showed up.

adrienluitot commented 2 years ago

Hello, sorry I didn't see your issue >.< Have you installed the libs in requirements.txt?

kcvanderlinden commented 2 years ago

same issue, installed the requirements.txt.

kcvanderlinden commented 2 years ago

solved it already. the GUI has to be run as root (because of VPN capability). Therefore the package Cryptodome needs also to be installed with root permissions. Thus

adrienluitot commented 2 years ago

Good! Thanks for your feedback! It's been such a long time I haven't use this project... I am astonished it still works haha

And yes root permissions are necessary.

I will close this issue if it's fixed.