Open Carson-We opened 5 months ago
additional error message:
git:(main) ✗ python /Users/tszsanwu/Desktop/Code/Project_Mojave/BlazePose/depthai_blazepose/demo.py Traceback (most recent call last): File "/Users/tszsanwu/Desktop/Code/Project_Mojave/BlazePose/depthai_blazepose/demo.py", line 3, in <module> from BlazeposeRenderer import BlazeposeRenderer File "/Users/tszsanwu/Desktop/Code/Project_Mojave/BlazePose/depthai_blazepose/BlazeposeRenderer.py", line 3, in <module> from o3d_utils import Visu3D File "/Users/tszsanwu/Desktop/Code/Project_Mojave/BlazePose/depthai_blazepose/o3d_utils.py", line 1, in <module> import open3d as o3d File "/Library/Frameworks/Python.framework/3.12/lib/python3.12/site-packages/open3d/__init__.py", line 11, in <module> from open3d.macos import * File "/Library/Frameworks/Python.framework/3.12/lib/python3.12/site-packages/open3d/macos/__init__.py", line 7, in <module> globals().update(importlib.import_module('open3d.macos.open3d').__dict__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/3.12/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: dlopen(/Library/Frameworks/Python.framework/3.12/lib/python3.12/site-packages/open3d/macos/open3d.so, 0x0002): tried: '/Library/Frameworks/Python.framework/3.12/lib/python3.12/site-packages/open3d/macos/open3d.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/3.12/lib/python3.12/site-packages/open3d/macos/open3d.so' (no such file), '/Library/Frameworks/Python.framework/3.12/lib/python3.12/site-packages/open3d/macos/open3d.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
Open3D does not yet support Python 3.12. Follow this issue for support:
I would recommend installing Python 3.11 for now and install using that.
thank you for your help, it helps a lot.
Same problem with python 3.11:
Traceback (most recent call last):
File "project/file.py", line 14, in <module>
import open3d as o3d
File "project/venv/lib/python3.11/site-packages/open3d/__init__.py", line 93, in <module>
from open3d.cpu.pybind import (core, camera, data, geometry, io, pipelines,
ImportError: dlopen(project/venv/lib/python3.11/site-packages/open3d/cpu/pybind.cpython-311-darwin.so, 0x0002): tried: 'project/venv/lib/python3.11/site-packages/open3d/cpu/pybind.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
Checklist
main
branch).Steps to reproduce the issue
I first cloned Open3D by:
Then, I install Open3D with:
It shown
Error message
Open3D, Python and System information
Additional information
No response