Apple released USDPYTHON 0.64 lib which uses old python 2.7, but in MacOS Monterey 12.3 the python2 is removed. I don't see any solutions, because the USDPYTHON library have been compiled with hardcoded system python path: /System/Library/Frameworks/Python.framework/Versions/2.7/Python.
Post
Replies
Boosts
Views
Activity
I also have this issue on my Mac mini (M1). The pxr python module is not compiled for ARM architecture and I think nothing can be done until Apple releases ARM version of the library.
Here is my debug:
Traceback (most recent call last):
File "/Users/michal/usdpython/usdzconvert/usdzconvert", line 13, in <module>
import usdUtils
File "/Users/michal/usdpython/usdzconvert/usdUtils.py", line 5, in <module>
from pxr import *
File "/Users/michal/usdpython/USD/lib/python/pxr/Tf/init.py", line 85, in <module>
from . import tf
ImportError: dlopen(/Users/michal/usdpython/USD/lib/python/pxr/Tf/tf.so, 2): no suitable image found. Did find:
/Users/michal/usdpython/USD/lib/python/pxr/Tf/tf.so: mach-o, but wrong architecture
/Users/michal/usdpython/USD/lib/python/pxr/Tf/tf.so: mach-o, but wrong architecture