![]() Is there a way to force the system to stay with the x86_64 terminal Homebrew for running python3 ? The system seems to want to run the arm64 version of Homebrew Python to build your depth wheels, even while using the x86_64 terminal, probably because of the PATH text, with the resulting errors. I ran the python3 -m install_requirements.py from this Rosetta2 enabled terminal, with the earlier posted result. There is a 2nd homebrew installed in the pre-M1 folder /use/local/homebrew This text is not in the PATH. The 2nd terminal-rosetta.app was configured enabled for Rosetta2, as described by your Brandon Dec 20 note “69-depthai-apple-m1-based-macs”. Git: 2.32.0 => /Library/Developer/CommandLineTools/usr/bin/git Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/amework/Versions/2.6/usr/bin/rubyĬPU: octa-core 64-bit arm_firestorm_icestorm This is the default, per this response to 'brew config" from the Native arm64 and Rosetta x86_64 terminal. Homebrew is installed in /opt/homebrew & there is text in the PATH environment to this folder. I have a 1st native “terminal.app”, uname -m arm64. My (Homebrew) installed python3 from arm64 terminal.app (uname -m arm6) is: Then after opening the terminal, it can be checked under what architecture it runs using uname -mĪfter that, it's just the standard procedure to install Brew (it installed python 3.8.2 by default), clone depthai repo, running. For example, I copied Terminal to Desktop, renamed it to Terminal-x86_64, and tick the checkbox Open using Rosetta: To run commands with x86_64 emulation, it is possible to prefix them with arch -x86_64īut there's an easier way, to open the terminal app directly using Rosetta. Install Rosetta (note it may be already installed, for example attempting to install other apps (current TeamViewer) may prompt to install Rosetta first): ![]() Got our prebuilt wheels (for Intel CPUs - x86_64) working very well using the Rosetta emulator.įirst, the native Apple Silicon support for Homebrew is still being actively worked on (with several issues still existing), so I didn't attempted installing it / building from sources. So we got our Mac mini M1, and gave it a quick try running DepthAI on it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |