krypton-byte / neonize

whatsapp automation library, written in python
http://krypton-byte.me/neonize/
Apache License 2.0
47 stars 11 forks source link

failed to find libmagic #21

Closed Hendroarifin closed 2 months ago

Hendroarifin commented 3 months ago

from neonize.client import NewClient ImportError: failed to find libmagic. Check your installation

krypton-byte commented 3 months ago

If you are using Termux, you can install it using pkg (package manager)

$ pkg install sox
Hendroarifin commented 3 months ago

I'm sorry I didn't provide complete information beforehand

I'm currently using windows and python 3.10

Thank you in advance

krypton-byte commented 3 months ago

Try installing the python-magic-bin library, it should work.

pip install python-magic-bin
Hendroarifin commented 3 months ago

still showing the same error, please guide 2024-04-11_17h23_35

krypton-byte commented 3 months ago

Have you correctly directed its venvpath in vscode?

Hendroarifin commented 3 months ago

yes, I think so 2024-04-11_17h38_37

krypton-byte commented 3 months ago

pip install python-magic==0.4.15

Hendroarifin commented 3 months ago

I have installed python-magic==0.4.15 as suggested but it still gives the same error

Hendroarifin commented 2 months ago

there is a fix, thank you