DIE icon indicating copy to clipboard operation
DIE copied to clipboard

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

Open r0ptr opened this issue 2 years ago • 2 comments

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?

r0ptr avatar Mar 09 '22 18:03 r0ptr

cmd

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

steve007iii avatar Aug 08 '22 23:08 steve007iii

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.

tmr232 avatar Aug 09 '22 07:08 tmr232