-
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
Importing proposal in conda not working on ubuntu? #381
Comments
Possibly related to #327? |
Yes, creating a new conda environment and installing proposal there fixed it. But this shouldn't be the default solution in my opinion, something must still be going wrong... |
I just tried it with a fresh environment using python 3.11 and I get the same error:
|
It works when building proposal using the conda compilers and not sthe system compilers, i.e. with this environment:
|
In the Line 104 in c3b01b7
is this maybe not the correct way? |
Looking into the build log file, it is using the correct python to compile, but then at runtime it doesn't find the corresponding library. Note that the version of the library not being found is the one in the conda env, so the compilation step was correct. I think the issue is wrong RPATH information. |
I'm experiencing what I believe to be a similar issue on an M1 Mac running macOS and trying to |
This sounds like the problem in issue #209, which might very well also be related to this problem. |
I think this line might be at fault: Line 107 in c3b01b7
The link path of the libpython should probably be used, at least in case of a conda installation. |
Or adapt the lines here: Line 79 in c3b01b7
to include the library, best as a relative path from the python module. pyproposal will be installed to something like |
When trying to import proposal after installing it with
pip install proposal
from inside the environment, and then try to import it, I get the error message:I don't know there this is coming from.
The text was updated successfully, but these errors were encountered: