mirror of https://github.com/MISP/misp-modules
fix: Updated yara import error message
- Better to 'pip install -I -r REQUIREMENTS' to have the correct yara-python version working for all the modules, than having another one failing with yara hash & pe modulespull/253/head
parent
b9f634b506
commit
58b3a069bf
|
@ -3,7 +3,7 @@ import re
|
|||
try:
|
||||
import yara
|
||||
except (OSError, ImportError):
|
||||
print("yara is missing, use 'pip3 install yara' to install it.")
|
||||
print("yara is missing, use 'pip3 install -I -r REQUIREMENTS' from the root of this repository to install it.")
|
||||
|
||||
misperrors = {'error': 'Error'}
|
||||
moduleinfo = {'version': '1', 'author': 'Christian STUDER',
|
||||
|
|
|
@ -3,7 +3,7 @@ import requests
|
|||
try:
|
||||
import yara
|
||||
except (OSError, ImportError):
|
||||
print("yara is missing, use 'pip3 install yara' to install it.")
|
||||
print("yara is missing, use 'pip3 install -I -r REQUIREMENTS' from the root of this repository to install it.")
|
||||
|
||||
misperrors = {'error': 'Error'}
|
||||
mispattributes = {'input': ['yara'], 'output': ['text']}
|
||||
|
|
Loading…
Reference in New Issue