This article provides pretty good instructions on this. In case you no longer need Homebrew, run the following command to uninstall Homebrew and all the installed packages. You will see the version of Homebrew installed on your Mac. The Python in your venv is being run in Rosetta, and this might be causing some problems. Try using an M1-native installation of Python with mysql.
As an alternative, we can automate this process on GitHub Actions and build a multiplatform image on each commit. The Docker team provides ready-to-use actions to build and push a multiplatform Docker image. We won’t go further into the first option, as a CI/CD workflow (e.g., GitHub actions) should be already in place for most projects.
If you are a coder, developer, Terminal lover, or more tech-savvy than an average Mac user, you can use Homebrew to simplify software installation on your Mac. Homebrew is a framework which makes it easier to install various FOSS software packages onto a Mac. It fills the same niche as Fink and MacPorts, if you’ve ever heard of those. puerto rico local beer It seems to rely on a few jenky tricks I didn’t like, such as making /usr/local/bin/ writable to users even without sudo. The build step is divided into multiple commands to optimize the use of the caching mechanism provided by the Docker build command. The source code files that can be assumed to change the least are processed first.
This goes into /opt/homebrew, as is normal for the M1, instead of the normal/usr/local. I recently got an M1 mac, and I’ll be cataloging my experience with using it for scientific software development. I’ll be returning to update this page periodically, and will eventually have a focused recommendation for Apple Silicon setup, similar to my Intel setup. As the latest version (1.10.0) cannot be installed for my case. The line execute successfully without any error messages.
Mysql-client worked fine on my M1 Mac prior to reinstalling the m1 Homebrew. Some other users likely share the sentiment, though most macOS users never use tools like this, of course. With Homebrew, you can choose to install which version of PHP. I choose to install PHP 7.4 in order to be compatible with my existing applications that I’m running. For those unfamiliar, HomeBrew brands itself as “the missing package manager for macOS.” It allows users to easily install free and open-source macOS software using the Terminal.