-
Hi, Wheel for MacOSX 14 ARM64 are proposed here. First note that when installing ydf (0.2.0) for python 3.10 on MacOS 14 ARM64 (M1), if I import pandas AND ydf I get a segmentation fault and the python interpreter crash instantly after the two imports. Importing only one of these two packages works. Now my true question : How do you compile YDF python port to get the wheel for MacOSX 13 or 14 ARM64 as these instructions failed.
When trying to compile it, GCC9 is required. So I installed it with brew (gcc@9 formula), but it's only supported on Intel Mac, so ydf cannot be compiled. How are you doing it on your side ? Many Thanks for your help |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 22 replies
-
Hi, RUN_TESTS=0 COMPILERS="clang" ./tools/test_pydf.sh
./tools/build_pydf.sh python |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks you. It still failed. Here is my setup and procedure. MacOSX 13.5 (ventura) - M2 Max
Then I type :
So it fails after a while with (I removed the stack trace, just keeping errors for readability):
Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
Hi, it seems to work now. Only issue : pandas must be installed from pip and not from conda, else when loading pandas AND ydf, it results in a Segmentation fault in the python interpreter. I installed the rest including JupyterLab with conda and there is no issue, only pandas from conda fails to work with ydf. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi, After doing a git pull of the very last release today (1.9.0) the same compilation than above, that was previously working, failed with many messages like this, listing many
|
Beta Was this translation helpful? Give feedback.
-
Great, New version (0.3.0) can be directly installed through pip on a Mac ARM and it works perfectly. |
Beta Was this translation helpful? Give feedback.
-
Hi, The 0.4.1 is not available through pip. So I tried to compile and it fails for several reasons. OS : MacOSX 14.4.1 My compilation env is the same than previously described above, same Bazel and python. Only the OS version was updated since.
So can you either fix the compilation procedure and files or push a compiled macosx for ARM to pypi ? Many thanks for your help |
Beta Was this translation helpful? Give feedback.
-
Hello! Additional comment on the above:
Do you guys have any plans to release a new pre-compiled version or fix the compilation procedure for MacOS ARM machines? Thank you! |
Beta Was this translation helpful? Give feedback.
Great,
New version (0.3.0) can be directly installed through pip on a Mac ARM and it works perfectly.
No need to compile it anymore.
Great, thanks a lot.