Open kawayixixing opened 2 weeks ago
if you use windows / windows powershell/command prompt, "python-magic==0.4.*" from the requirements file is incompatible
to solve this issue:
note: if python-magic is installed when using windows powershell, sherloq will not run and throw an error because this library is prioritized. Make sure python-magic-bin is installed instead.
Does that work for you?
(.venv) C:\Program Files (x86)\sherloq\sherloq\gui>python sherloq.py Traceback (most recent call last): File "C:\Program Files (x86)\sherloq\sherloq\gui\sherloq.py", line 19, in
from digest import DigestWidget
File "C:\Program Files (x86)\sherloq\sherloq\gui\digest.py", line 5, in
import magic
File "C:\Program Files (x86)\sherloq\sherloq.venv\Lib\site-packages\magic__init__.py", line 209, in
libmagic = loader.load_lib()
^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)\sherloq\sherloq.venv\Lib\site-packages\magic\loader.py", line 49, in load_lib
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation
i try install magic but also get error