allzpark
allzpark copied to clipboard
install problems on OSX Ventura
When trying to run rez-bind quickstart on OSX Ventura I got this error:
Binding python into /Users/frank/packages...
13:58:00 ERROR RezBindError: could not find executable: python
I then symlinked my Python3 install from /usr/bin/python3 to /usr/local/bin/python
After running the rez-bind command again I got this:
14:06:01 ERROR RezBindError: failed to execute /usr/local/bin/python: xcode-select: Failed to locate 'python', requesting installation of command line developer tools.
(error code 72)
which was followed by a prompt to install Apple's Commandline Developer Tools. I did that but am still stuck with the same error.
How can I roll back whatever the rez-bind command has done so far so I can try again in a virtual env?
It's possible symlinking is not enough; what Rez expects is for it to be able to call python
from a terminal and access the Python that it was installed with. That rez-bind
command is a thin wrapper around a Python call.
I then symlinked my Python3 install from /usr/bin/python3 to /usr/local/bin/python
Now it will depend on what version of Mac you are on; x86 or ARM. I believe this version of Python is the x86 version. Then it'll also depend on how you installed Rez and Allzpark, and how that Python generated the rez binaries.
RezBindError: failed to execute /usr/local/bin/python: xcode-select: Failed to locate 'python'
This tells me that the binary that got symlinked isn't actually Python; but a wrapper around this warning message. Double-check how Rez was installed, using which Python, and ensure your shell has access to this same Python when interacting with Rez.
On top of all that; it's very possible Rez does not work within an ARM environment. It was built for x86 and will unlikely see official support for ARM since ARM is not yet common in the industry for which it was developed.
I would visit the parent project and inquire about how to get Rez into working order on ARM hardware.
- https://github.com/AcademySoftwareFoundation/rez
Thanks again Marcus! I was trying to install things on my laptop as a text before doing it all on our production workstations (which are windows/linux and all x86). Since Apple and ARM is increasinbly unusable IMO I will just drop this and go straight to testing on the right workstations. Out of curiosity, would I have more luck trying this on a virtual linux (on the same MBP) or will that fail as well due to ARM?
Out of curiosity, would I have more luck trying this on a virtual linux (on the same MBP) or will that fail as well due to ARM?
If you manage to virtualise a x86 Linux then that should work just fine. You should also be able to use Rosetta 2, via the arch -x86_64
command. For example, you can login to a x86 shell and treat that as an x86 Mac or Linux shell.
arch -x86_64 zsh
It takes some getting used to, but this is perfectly usable for x86 development on Mac.
Ok thanks @mottosso!
On Thu, 16 Feb 2023, 10:01 pm Marcus Ottosson, @.***> wrote:
Out of curiosity, would I have more luck trying this on a virtual linux (on the same MBP) or will that fail as well due to ARM?
If you manage to virtualise a x86 Linux then that should work just fine. You should also be able to use Rosetta 2, via the arch -x86_64 command. For example, you can login to a x86 shell and treat that as an x86 Mac or Linux shell.
arch -x86_64 zsh
It takes some getting used to, but this is perfectly usable for x86 development on Mac.
— Reply to this email directly, view it on GitHub https://github.com/mottosso/allzpark/issues/144#issuecomment-1432741828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANFIK2KMI4O62FOVW5OIX3WXXUHZANCNFSM6AAAAAAU4H32VI . You are receiving this because you authored the thread.Message ID: @.***>