-
Notifications
You must be signed in to change notification settings - Fork 21
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
Python bindings not working on MacOS when using anaconda #209
Comments
Does compiling proposal with the conda compiler work? This also might be a reason to do a conda forge package. |
@pascalgutjahr and I tried using the conda compiler by using Looking at the pybind11 issue there seems to be a lively discussion on the problem now, but I did not find the time to work through all the ideas that were brought up. But it looks like the problem is also connected to conan and the way pybind11 is packaged there. So for now, the easiest solution is probably to try installing PROPOSAL without conan, i.e. installing all dependencies manually. |
The installation still does not work with conda, but it works in a virtual environment for both OS X 11.6 and 10.15.7. For the installation you can use the way via
It's import to add the path of the PROPOSAL library to the PYTHONPATH, otherwise python can not find the module. |
As the problem is still not fixed, the simplest workaround to install proposal via pip is still:
|
There is an issue on MacOS machines using anaconda when trying to import proposal in Python.
The installation (either using pip or manually) is working fine, however,
import proposal
leads to the erroror
Apparently, this is an issue with pybind11 (see here or here or here). The discussions say that this might have to do with conda python and the python package being built with different Clang versions. However, the issue does not seem to be resolved, and I couldn't find any viable solutions for this issue yet.
There is a github actions run where the issue has been reproduced, although I am not entirely sure whether this is the same problem (see here)
The text was updated successfully, but these errors were encountered: