You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using CondaPkg
]conda add fenics-dolfinx
using PythonCall
dolfinx = pyimport("dolfinx")
ERROR: LoadError: Python: ImportError: libdolfinx.so.0.10: cannot open shared object file: No such file or directory
What's strange is
using CondaPkg
]conda run python
>>> import dolfinx
works fine
Your system
Ubuntu 24.04, Julia 1.12.1, PythonCall 0.9.30. Python and Conda managed by CondaPkg (default environment).
I've tried adding the mkl packages to CondaPkg.toml, as well as fixing a python version (3.12), but none of those attempts solved the issue. However, if I run
julia> using CondaPkg
pkg> conda run python
>>> import fundus_image_toolbox as fit
Module missing, downloading it from https://github.com/berenslab/MIDL24-segmentation_quality_control...
Adjusting imports...
Done.
Module missing, downloading it from https://github.com/dsc/bunch...
>>> fit.__file__
'/mnt/d/projects/FOCAL/.CondaPkg/.pixi/envs/default/lib/python3.12/site-packages/fundus_image_toolbox/__init__.py'
>>>
it works. I've also looked at .CondaPkg, at the file libmkl_gnu_thread.so.2 is there, so I'm not sure what the issue could be (.CondaPkg/.pixi/envs/default/lib/libmkl_intel_thread.so.2)
Activity
touste commentedon Dec 2, 2025
The issue somehow disappeared when I started from a clean environment, I'm not able to reproduce it anymore...
aibiliGaferreira commentedon Feb 24, 2026
I'm having a similar issue, but only when using Ubuntu WSL. It works fine on Windows, but when I try running the same script on WSL I get the error:
This is what my CondaPkg.toml looks like:
I've tried adding the mkl packages to CondaPkg.toml, as well as fixing a python version (3.12), but none of those attempts solved the issue. However, if I run
it works. I've also looked at .CondaPkg, at the file
libmkl_gnu_thread.so.2is there, so I'm not sure what the issue could be (.CondaPkg/.pixi/envs/default/lib/libmkl_intel_thread.so.2)