magic library not included by default #2

Closed
opened 2021-12-30 04:12:52 +00:00 by exquisitecorp · 3 comments

Hi, to install this I ran python3 setup.py install

When trying to run AV-98 I got the following error:

Traceback (most recent call last):
  File "av98.py", line 26, in <module>
    import magic
ModuleNotFoundError: No module named 'magic'

To manually install magic:

pip3 install python-magic

I checked the original AV-98 and see that this is a new addition. I'm not a python dev but you may want to specify all this in an updated README.md and add in python-magic to the setup.py install.

Hi, to install this I ran ```python3 setup.py install``` When trying to run AV-98 I got the following error: ``` Traceback (most recent call last): File "av98.py", line 26, in <module> import magic ModuleNotFoundError: No module named 'magic' ``` To manually install magic: ``` pip3 install python-magic ``` I checked the original AV-98 and see that this is a new addition. I'm not a python dev but you may want to specify all this in an updated README.md and add in python-magic to the setup.py install.
Owner

That’s correct. I need to fix this issue.

That’s correct. I need to fix this issue.
Owner

magic should now be optional. Test are welcome.

magic should now be optional. Test are welcome.
ploum closed this issue 2021-12-30 15:04:54 +00:00
Author

Thanks, tested with and without magic installed and both work. And thanks for adding to the README, appreciated.

Thanks, tested with and without magic installed and both work. And thanks for adding to the README, appreciated.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ploum/offpunk#2
No description provided.