Skip to content

PyExc_Exception while import onnxruntime #23196

@ranjitsingha

Description

@ranjitsingha

Thank you for answering @tracysh !

I think I didn't set it. I will set it correctly. In my case, I think I should set like below? I just changed last 2 chars from yours. export CMAKE_ARGS="-DCMAKE_ANDROID_ARCH_ABI=armeabi-v8l" I will try with this.

When I see my processor type, it says AArch64 Processor.

Processor       : AArch64 Processor rev 2 (aarch64)
processor       : 0
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 26.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
processor       : 1
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 26.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
(same lines continue...)

But then after setting CMAKE_ARGS="-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a" it builds the wheel completely.
But then i get error when try to
python -c "import onnxruntime"

"PyExc_Exception" problem

Originally posted by @ranjitsingha in #4882

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templatestaleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions