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

Attempted relative import in non-package #50

Open
kuqadk3 opened this issue Aug 12, 2018 · 0 comments
Open

Attempted relative import in non-package #50

kuqadk3 opened this issue Aug 12, 2018 · 0 comments

Comments

@kuqadk3
Copy link

kuqadk3 commented Aug 12, 2018

C:\Users\Tuan Linh\Desktop\IDA7.0\IDAPro7.0.Green.patch\plugins\keypatch.py: Attempted relative import in non-package
Traceback (most recent call last):
File "C:\Users\Tuan Linh\Desktop\IDA7.0\IDAPro7.0.Green.patch\python\ida_idaapi.py", line 553, in IDAPython_ExecScript
execfile(script, g)
I was trying install Keypatch on IDA 7.0 on Windows and got this error.

File "C:/Users/Tuan Linh/Desktop/IDA7.0/IDAPro7.0.Green.patch/plugins/keypatch.py", line 23, in
from keystone import *
File "C:\Users\Tuan Linh\Desktop\IDA7.0\IDAPro7.0.Green.patch\python\keystone.py", line 9, in
from . import arm_const, arm64_const, mips_const, sparc_const, hexagon_const, ppc_const, systemz_const, x86_const
ValueError: Attempted relative import in non-package

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

1 participant