viper-framework / viper

Binary analysis and management framework
Other
1.54k stars 351 forks source link

[!] Missing dependency, install pymisp (`pip install pymisp`) #721

Open kadaokaduan opened 5 years ago

kadaokaduan commented 5 years ago

In the viper-cli, I attempt to use misp module, but when I run misp or misp search in viper-cli, I got error [!] Missing dependency, install pymisp (`pip install pymisp`). The only command the viper-cli could handle is misp -h, it gives a normal result. I'm pretty sure that the pymisp was installed and when I import pymisp in python3, It runs well. When I run python3 viper-cli, the problem is still there. My viper version is 2.0-dev. Many thanks for help!

frennkie commented 5 years ago

There was a MISP related change a few days ago. I would suggest you make sure you have the most current version of both Viper and MISP.

Does this work in a plain python3 CLI: from pymisp import ExpandedPyMISP, PyMISPError, MISPEvent

kadaokaduan commented 5 years ago

Solved this problem after git checkout to a historical commit version.

Rafiot commented 5 years ago

I released a new version of PyMISP, it should work as expected now.

kadaokaduan commented 5 years ago

I update pymisp to version 2.4.99, it seems that the problem still there using the latest version of viper...

Rafiot commented 5 years ago

Just to be sure: you installed pymisp with pip3?

jaegeral commented 4 years ago

is this still an issue? @kadaokaduan ?