Skip to content
Advertisement

Issues installing python typedb-client on macOs m1 architecture

When I try to install the python typedb-client using pip, I get several errors concerning grpcio:

JavaScript

as well as many lines of:

JavaScript

This happens both on global installation and in conda environments…

Advertisement

Answer

After searching for grpcio installation issues on the M1 architecture, the solution for me was to prepend the following to the pip command:

JavaScript

in some cases, should you see ssl errors, you can extend that command to:

JavaScript

assuming that you have openssl install via homebrew. This tells pip where to look for appropriate headers and code to build the grpcio pip package.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement