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 PyCall on Julia 1.2 I get the following error on a Linux OS when calling pyimport("scipy.sparse")
<class 'ImportError'>
ImportError("/usr/bin/../lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/matros/miniconda3/envs/contfi2/lib/python3.7/site-packages/scipy/sparse/_sparsetools.cpython-37m-x86_64-linux-gnu.so)")
File "/home/matros/miniconda3/envs/contfi2/lib/python3.7/site-packages/scipy/sparse/__init__.py", line 230, in <module>
from .csr import *
File "/home/matros/miniconda3/envs/contfi2/lib/python3.7/site-packages/scipy/sparse/csr.py", line 13, in <module>
from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks,
the PYTHON variable is correctly set to a conda environment where I can import the module scipy.sparse without any problem. I tried using export LD_LIBRARY_PATH=$HOME/miniconda3/envs/contfi2/lib:$LD_LIBRARY_PATH before calling Julia to no avail.
The text was updated successfully, but these errors were encountered:
I have the same issue with manually built PyTorch (with ROCm) on Fedora32.
<class 'ImportError'>
ImportError("/usr/local/julia/1.5.0/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/louis/.local/lib/p
ython3.8/site-packages/torch/lib/libtorch_python.so)")
File "/home/louis/.local/lib/python3.8/site-packages/torch/__init__.py", line 189, in <module>
from torch._C import *
The LD_PRELOAD method above works when I load my system's /usr/lib64/libstdc++.so.6.
Using PyCall on Julia 1.2 I get the following error on a Linux OS when calling
pyimport("scipy.sparse")
the PYTHON variable is correctly set to a conda environment where I can import the module
scipy.sparse
without any problem. I tried usingexport LD_LIBRARY_PATH=$HOME/miniconda3/envs/contfi2/lib:$LD_LIBRARY_PATH
before calling Julia to no avail.The text was updated successfully, but these errors were encountered: