-
Notifications
You must be signed in to change notification settings - Fork 53
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
lets_plot_kotlin_bridge is unable to locate libc++.1.dylib, I am using Mac m2 #1234
Comments
Interesting, what kind of Python env are you using? |
Possible fix of the problem: 241ee55 |
@alshan and @VDovidaytis-HORIS Thank you for your responses. I’m using Python 3.13 with pyenv as my environment. I’ve also tried the suggested fix (241ee55), but unfortunately, the issue still persists. |
Could you provide more details, please:
I will try to reproduce the error. |
And let me clarify: how did you try the fix? |
Hi there, just chiming in that I have the same error on an M1 Max Macbook using Python 3.12.4 and lets-plot v4.5.1—hopefully this can help reproduce. I tried to test the fix posted above but couldn't get Gradle building correctly (though admittedly didn't have much time to troubleshoot robustly). Details:
I'm using uv venv -p 3.12.4
uv pip install lets-plot
.venv/bin/python -c "from lets_plot import *" Gives:
Thank you! |
@keatingw, hello! Thank you for your report! First, let me ask you to try installing the dev wheel from this archive into your environment: lets_plot-4.5.2.dev1-cp312-cp312-macosx_11_0_arm64.zip Example:
This Python wheel contains the required fix. |
Confirming that dev wheel works from my end—the import error no longer occurs and I can render the quick start guide example plot. Thank you! |
I have the same problem but when I try the fix suggested by @VDovidaytis-HORIS and run I'm on a Apple M2 Pro, macOS Sequoia 15.1, using python 3.12. |
@paupereira could you please show the output of the following command:
|
I have the same error as @paupereira (
@VDovidaytis-HORIS the output is |
@quickcoffee this is because you tried to install my wheel, which is built for Python 3.12, on your Python 3.11. Okay, everyone. We have made a dev release with the required fix for all platforms available on PyPI.org. Please check it out:
|
@VDovidaytis-HORIS my bad, thanks! Can confirm that with |
|
Thank you so much VDovidaytis!. lets-plot==4.5.2.dev1 is working. |
You're welcome! But keep in mind that this is a dev version — don't forget to update it to the next release. |
The error message indicates that the lets_plot_kotlin_bridge is still unable to locate libc++.1.dylib.
The text was updated successfully, but these errors were encountered: