Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: DLL load failed while importing sip: The specified module could not be found. #20

Open
riskydissonance opened this issue Feb 23, 2023 · 1 comment

Comments

@riskydissonance
Copy link

Hi,

I get this error trying to use the module on IDA Pro 7.5, has anyone encountered it or able to provide any help?

Thanks!

C:\Users\user\Documents\code\Virtuailor\Main.py: DLL load failed while importing sip: The specified module could not be found.
Traceback (most recent call last):
  File "D:\tools\IDA Pro 7.5\python\3\ida_idaapi.py", line 616, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Users/user/Documents/code/Virtuailor/Main.py", line 9, in <module>
    idaapi.require("GUI")
  File "C:\tools\IDA Pro 7.5\python\3\ida_idaapi.py", line 161, in require
    m = importlib.import_module(modulename, package)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users/user/Documents/code/Virtuailor\GUI.py", line 3, in <module>
    from PyQt5 import QtCore, QtGui, QtWidgets
ImportError: DLL load failed while importing sip: The specified module could not be found.
@NtLoadDriverEx
Copy link

Use python 3.8, and replace the proper sip.pyd file in the ida pro install folder with this one from hex-rays. https://hex-rays.com/blog/ida-7-4-and-python-3-8/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants