ynvb / DIE

Dynamic IDA Enrichment
MIT License
468 stars 92 forks source link

Fresh installation on Windows 10 / Python 2.7 / IDA Pro 7.6 cannot import dependencies #41

Open r0ptr opened 2 years ago

r0ptr commented 2 years ago

I followed the instructions to the letter, when IDA Pro is started, this error happens:

C:\Tools\IDAPro\plugins\die_proxy.py: cannot import name base
Traceback (most recent call last):
  File "C:\Tools\IDAPro\python\2\ida_idaapi.py", line 647, in IDAPython_ExecScript
    execfile(path, g)
  File "C:/Tools/IDAPro/plugins/die_proxy.py", line 14, in <module>
    plugin = imp.load_source(__name__, plugin_path)
  File "C:\Tools\DIE\DIE.py", line 3, in <module>
    import sark
  File "C:\Python27\lib\site-packages\sark\__init__.py", line 14, in <module>
    from . import (core,
  File "C:\Python27\lib\site-packages\sark\code\__init__.py", line 2, in <module>
    from . import base
ImportError: cannot import name base

It might very well be an issue with sark itself, but it still makes me wonder how anyone was able to use DIE at any time?

steve007iii commented 2 years ago

cmd

pip3 install -U git+https://github.com/tmr232/Sark.git#egg=Sark

tmr232 commented 2 years ago

Sark no longer supports Python 2. DIE has not been updated yet to work with Python 3. I believe this is the source of this issue.