Skip to content

Document grpcio installation for OS X #6067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Document grpcio installation for OS X #6067

merged 1 commit into from
Mar 6, 2024

Conversation

alex-mccarthy-unity
Copy link
Contributor

Proposed change(s)

Before installing grpcio on my Apple Silicon mac, running mlagents-learn --help threw the following error:

ImportError: dlopen(/Users/alex.mccarthy/miniconda3/envs/mlagents/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_CFRelease'

After installing grpcio (which I did from conda, rather than pip), mlagents-learn --help ran cleanly.

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

Before installing `grpcio` on my Apple Silicon mac, running `mlagents-learn --help` threw the following error:

```
ImportError: dlopen(/Users/alex.mccarthy/miniconda3/envs/mlagents/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_CFRelease'
```

After installing `grpcio` (which I did from conda, rather than pip), `mlagents-learn --help` ran cleanly.
Copy link
Contributor

@miguelalonsojr miguelalonsojr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@alex-mccarthy-unity alex-mccarthy-unity merged commit 66f6b34 into Unity-Technologies:develop Mar 6, 2024
@alex-mccarthy-unity alex-mccarthy-unity deleted the document-grpcio-os-x branch March 6, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants