GhIDA icon indicating copy to clipboard operation
GhIDA copied to clipboard

Python module import errors

Open ribbs opened this issue 3 years ago • 0 comments

Python Version: 3.8.2 IDA Pro Version: 7.5 OS: Windows 10 Education Build: 19042.867 Version: 20H2

# Import error Location: IDAPro7.5\plugins\ghida_plugin ERROR: Cannot import and find the modules that are in init.py

Solution: Open init.py in an editor. Add a '.' in front of all the modules in the form 'module' import statments. ex: from .comments_cache import * Directs IDA's python3 instance to explicitly look in the current directory for those module

# Queue error Location: IDAPro7.5\plugins\ghida_plugin ERROR: Cannot find 'Queue'

Solution: Open lib.py in an editor. Change 'import Queue' to 'import queue' Now it was successfully found and import queue

# Error finding requests and pygments Location: ERROR: ModuleNotFoundError: No module named 'requests'

Solution: IDK

ribbs avatar Apr 16 '21 15:04 ribbs