How do I configure pyo3 to work with Homebrew installed python3? #2401
Replies: 4 comments 7 replies
-
Sorry for the long delay in response, I had only limited time recently and was swamped by a huge backlog of issues etc. Can you run a build with |
Beta Was this translation helpful? Give feedback.
-
Can you try creating and activating a virtual environment with your homebrew Python, then building with the environment activated?
|
Beta Was this translation helpful? Give feedback.
-
You can run pyo3 with homebrew installed python even if it has been linked agains standard one. Just export following variables: DYLD_FALLBACK_FRAMEWORK_PATH=/usr/local/Frameworks But, I should note this workaround has some issues. |
Beta Was this translation helpful? Give feedback.
-
I ran into the same issue on github actions runners. Standard python library in located in
Next I add this config under VCS and build a project using following command command:
But for whatever reason resulting binary is still linked agains
How can I force |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to
pyo3
trying to figure out what the best set up for developing usingpyo3
on an M1 mac would be. I'd prefer to not have to develop inside a VM or container.I'm trying to run the example provided in the documentation:
However, it seems
pyo3
is looking for Python3 as a framework which is not how it is installed by Homebrew.What do I need to configure?
Beta Was this translation helpful? Give feedback.
All reactions