-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
3.7.9 pyenv install on MacOS 13.4.1 (Intel) can run python libraries but not usdview specifically #2520
Comments
Similar to #2407, but I am not using python 3.10 |
Hi @carlynorama, You are most likely running into #2407. That bug isn't tied to the version of Python, it's tied to the version of PySide6. You'll run into this with any version of PySide6 >= 6.5.0, and from your repro steps you probably have 6.5.1.1 installed. You can try the workaround mentioned in #2407, or try installing an older version of PySide6 via |
Great. Thank you. Recompiling now. |
usdview opens now! I can see the window for a mere moment and then a fatal crash because of an OpenGL finding problem, which is weird because I will do some more digging, but this seems like a new and different problem and that's something. Thank you.
|
Now that you're past the PySide issues, there's a thread of PyOpenGL related problems here: #1372 Wonder if anything there helps? |
Yes! Looking into it. I did half-ass see that already in that I ran I'm also interested in #1372 (comment) because I definitely have OpenGL in /System/Library/Frameworks/ on both boxes. I'm not really sure where to put it to make it apply to TIL: |
I wonder if it might be helpful to ask the question on the ASWF USD Working Group slack? Some of the places your error message reports looking (/System/Volumes/Preboot/Cryptexes/...) are unfamiliar to me as standard places to find libraries. That might be normal, but just outside of my experience. There might be people at the Slack with some insight into the problem. |
The pyenv 3.7.9 rebuild after Interestingly my brew@3.11 build is flaky in other ways so I don't trust it, but does open usdview, and does find OpenGL The cryptex stuff is an Apple thing. I haven't spent a lot of time on Slack historically but I will check it out! |
OpenGL issue SOLVED now as well by the folks on slack. THANK YOU. Answer: Use Python 3.9 instead of 3.7 |
Thanks in advance!
Description of Issue
Got USD library to compile and run on MacOS 13.4.1 using Python 3.7.9 via a pyenv environment. Can use usdcat and write examples in python using the REPL fine. When trying to open a VERY simple usda file using usdview it fails with the below error message
Tried to open a second simple file, identical error message, including the "State file not found, a new one will be created." at the top.
Picked Python 3.7.9 because it was close to 3.7 (https://github.com/PixarAnimationStudios/OpenUSD/blob/release/VERSIONS.md) and Apple's USD Tools says 3.7.9 (FWIW: I do have that up and running using a system install of 3.7.9 on a different box)
I'm pretty happy with what I do have running for now, but if there is something obvious to do to fix this (use yet another Python set up?)... I'm in!
Steps to Reproduce
System Information (OS, Hardware)
Package Versions
23.05
Build Flags
Default script run.
The text was updated successfully, but these errors were encountered: