How can I install GRPCIO on an Apple M1 Silicon

The M1 chip is really fast and can speed up your development process due to the build speed, but sadly some of the packages are not supported or may require some kind of a hack to successfully install.

Here is how i resolved failing python package installation due to grpcio error below

Error to be resolved

Run the following commands


And once I did the above, I was able to successfully install the package that was failing. I figured I could also install grpcio without issues

pip install grpcio

I hope this helped, for further details I found this github thread helpful

SQLite is a lightweight database that is usually used for prototyping and testing during software development journey. Often times you will find yourself having to go into the database to see if database operations work as expected from your application. In this short article I will outline some of my commonly used commands while working with SQLite. While the examples that I will be covering were done on Ubuntu terminal, most of them work across different operating systems

How to open sqlite database in terminal

sqlite3 <database-file-name-with-file-extension>

e.g sqlite mydatabasefile.sqlite

The above will allow us to start querying our database from the terminal. From here you can run the usual database commands.

Exit the db console


Mohale Molieleng

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store