You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ive installed python magic on a winxp sp3 32bit. ive tried testing it with a few sample code lines featured in README:
import magic
magic.from_file("bot.exe")
magic.from_buffer(open("bot.exe").read(1024))
magic.from_file("bot.exe", mime=True)
when im running the script im getting the following exception:
Traceback (most recent call last):
File "magic test.py", line 2, in
magic.from_file("bot.exe")
File "build\bdist.win32\egg\magic.py", line 99, in from_file
File "build\bdist.win32\egg\magic.py", line 96, in _get_magic_type
File "build\bdist.win32\egg\magic.py", line 89, in _get_magic
File "build\bdist.win32\egg\magic.py", line 51, in init
File "build\bdist.win32\egg\magic.py", line 138, in errorcheck
magic.MagicException: could not find any magic files!
must be something in the module!
any ideas?
The text was updated successfully, but these errors were encountered:
Some libmagic installs on windows do not work out of the box. See the section of the readme that starts with "'MagicException: could not find any magic files!'"
hello
ive installed python magic on a winxp sp3 32bit. ive tried testing it with a few sample code lines featured in README:
import magic
magic.from_file("bot.exe")
magic.from_buffer(open("bot.exe").read(1024))
magic.from_file("bot.exe", mime=True)
when im running the script im getting the following exception:
Traceback (most recent call last):
File "magic test.py", line 2, in
magic.from_file("bot.exe")
File "build\bdist.win32\egg\magic.py", line 99, in from_file
File "build\bdist.win32\egg\magic.py", line 96, in _get_magic_type
File "build\bdist.win32\egg\magic.py", line 89, in _get_magic
File "build\bdist.win32\egg\magic.py", line 51, in init
File "build\bdist.win32\egg\magic.py", line 138, in errorcheck
magic.MagicException: could not find any magic files!
must be something in the module!
any ideas?
The text was updated successfully, but these errors were encountered: