"Unsatisfiable Requirement" edge case error when juliacall
is upgraded but Julia registries are not
#422
Unanswered
brian-dellabetta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
we have come across an edge case when upgrading PythonCall/juliacall, and I am curious if anyone knows of a workaround or clean solution.
Initial Condition:
juliacall==0.9.14
installed in their Python env[email protected]
installed in the Julia project that juliacall links to.[email protected]
available.Steps to reproduce:
pip install juliacall==0.9.15
from juliacall import Main as jl
This will result in the following error:
All I need to do is run
jl.seval("import Pkg; Pkg.registry.update()")
but I can't get access to jl, I hit the error above first. Any suggestions on how to programmatically resolve this, ideally in Python? Hoping there's a way without having to editjuliacall
source code to allow for an init/startup script. If that is the case, I can create an issue and take a shot at a PR. It may be as simple as adding another env var option that injectsPkg.registry.update()
in the init script somewhere around this line.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions