When I download event from MISP Download as -> STIX 1 JSON (metadata + all attributes) or STIX 2 It doesn't work on a fresh installation of MISP v2.4.150
Traceback (most recent call last):
File "/var/www/MISP/app/files/scripts/stix2/misp2stix2.py", line 34, in <module>
from misp_stix_converter import MISPtoSTIX20Parser, MISPtoSTIX21Parser
File "/var/www/MISP/app/files/scripts/misp-stix/misp_stix_converter/__init__.py", line 3, in <module>
from .misp_stix_converter import misp_attribute_collection_to_stix1, misp_collection_to_stix2_0, misp_collection_to_stix2_1, misp_event_collection_to_stix1, misp_to_stix1, misp_to_stix2_0, misp_to_stix2_1
File "/var/www/MISP/app/files/scripts/misp-stix/misp_stix_converter/misp_stix_converter.py", line 22, in <module>
from typing import List, TypedDict, Union
ImportError: cannot import name 'TypedDict'
When I download event from MISP Download as -> STIX 1 JSON (metadata + all attributes) or STIX 2 It doesn't work on a fresh installation of MISP v2.4.150
Data: MISP v2.4.150 Python 3.6.8 CentOS 7 Guide: https://misp.github.io/MISP/INSTALL.rhel7/
I solve the error as follows: References: https://pypi.org/project/typing-extensions/
Regards