-
Notifications
You must be signed in to change notification settings - Fork 15
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
Comments
My first suggestion would be to see if it is affected by loading order. Try doing |
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. |
Thank you @cjdoris for your response :) I tried your first suggestion. For clarity, this is the workflow:
This workflow works and does not give any error message! Immediately after I do the
which seems to indicate that is finding the right ssl file, I guess? But I am not sure why this works... does this suggest something to you @cjdoris ? The code to reproduce this behaviour can be found in this version of the GitHub repository of the project. I can post the raw code here, but I imagine is going to be more difficult to read. The error should be reproducible by just instantiating and using the version of Sleipnir from the repo. Thank you so much! |
Importantly, even when the error does not show up when doing
when I get
Maybe this error can be avoided in the same way that the error when doing the |
Is there a way to make a global config for this? It seems that @cjdoris you got into something with your first suggestion, I am wondering if there is a robust solution for this problem. Thanks! |
I'm also experiencing the same problem. The strangest thing is that we can make this work using Facu's instructions from above, but ONLY if the Julia session is exited in between the using OpenSSL_jll and using PythonCall; pyimport("ssl"). This makes it impossible to reproduce and fix this during the initialization of Sleipnir. If we don't exit the session in between it doesn't work anymore. @cjdoris any idea on what could be the issue? How could we reproduce the behaviour we have working in the REPL in our Sleipnir.jl and init? Thanks in advance! |
Hi,
I am using the last version of
CondaPkg=0.2.26
that now allows to setopenssl_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 needslibxml2
andlibspatialite
as dependencies.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.
The text was updated successfully, but these errors were encountered: