Skip to content
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

Import error caused by difference between Reference from: and Expected in: #159

Open
facusapienza21 opened this issue Nov 14, 2024 · 2 comments

Comments

@facusapienza21
Copy link

Hi,

I am using the last version of CondaPkg=0.2.26 that now allows to set openssl_version: "ignore", which based on the solution to this other issue I posted in PythonCall should solve the problem.

Now, I am getting the following error when trying to import Sleipnir.jl using CondaPkg + PythonCall. My Python environment requires rioxarray, which needs libxml2 and libspatialite as dependencies.
image
For some reason, it seems that CondaPkg is trying to import these from .julia/artifacts. I don't know if this is a desired behaviour, or it is something I can change.

This issue is a follow up on the post in Julia Discourse. Sorry for the insistence, but this is fully blocking the development of our library and I imagine will be a common issue for other people working in spatial-related sciences.

@cjdoris
Copy link
Collaborator

cjdoris commented Nov 20, 2024

My first suggestion would be to see if it is affected by loading order. Try doing using OpenSSL_jll before anything else. Then in a fresh session try using PythonCall; pyimport("openssl") before anything else. Does anything change?

@cjdoris
Copy link
Collaborator

cjdoris commented Nov 20, 2024

Secondly, it's hard to help without being able to reproduce your problem. Please post code to replicate your issue from scratch, and post the complete output you get too. Please don't use screenshots, post the actual text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants