CheckPointSW / Karta

Karta - source code assisted fast binary matching plugin for IDA
MIT License
862 stars 103 forks source link

problem running karta scripts in IDA 7.4 #53

Closed stranger010101 closed 4 years ago

stranger010101 commented 4 years ago

I am trying to run Karta scripts in IDA but I get the following error:

Karta - INFO: Chose the IDA handler Karta - ERROR: Failed to create disassembler handler "IDA": DLL load failed while importing sip: The specified module could not be found. Karta - ERROR: Traceback (most recent call last): File "C:/Users/User/Karta/src\disassembler\factory.py", line 55, in createDisassemblerHandler return verifier.disas() File "C:/Users/User/Karta/src\disassembler\IDA\ida_verifier_api.py", line 42, in disas from .ida_api import IDA File "C:/Users/User/Karta/src\disassembler\IDA\ida_api.py", line 9, in import sark File "C:\Python38\lib\site-packages\sark-7.4.0-py3.8.egg\sark__init.py", line 14, in from . import (core, File "C:\Python38\lib\site-packages\sark-7.4.0-py3.8.egg\sark\code\init__.py", line 10, in from . import line File "C:\Python38\lib\site-packages\sark-7.4.0-py3.8.egg\sark\code\line.py", line 7, in from ..ui import updates_ui File "C:\Python38\lib\site-packages\sark-7.4.0-py3.8.egg\sark\ui.py", line 6, in from .qt import MenuManager File "C:\Python38\lib\site-packages\sark-7.4.0-py3.8.egg\sark\qt.py", line 4, in from PyQt5 import QtCore, QtWidgets, QtGui ImportError: DLL load failed while importing sip: The specified module could not be found. 

I installed every repository required but still cant run it. Will be glad to get some help.

chkp-eyalit commented 4 years ago

Hi, sorry about the dependency issue. Python's versions and packages are a mess. We had someone with a similar issue before, and it seems that IDA (at least in 7.4) compiled their PyQt against python 3.6, and it isn't interoperable with python 3.8 as you have it. Using python 3.6 with your IDA should work (even if it feel our of place).

Personally, I'm using python 3.7 with my IDA (all 7.X versions), and it works smooth.

stranger010101 commented 4 years ago

Works with python 3.7 Thank you!

chkp-eyalit commented 4 years ago

Great! Happy to hear it solved your issue.