Closed extremelylongname closed 7 months ago
After installing SX++ with conda into a new environment (version 0.19.2), the package fails to import in python with the following message:
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[2], line 1 ----> 1 import sourcextractor File ~/anaconda3/envs/sourcex2/lib/python3.10/site-packages/sourcextractor/__init__.py:18 1 # -*- coding: utf-8 -*- 2 3 # Copyright © 2019 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université (...) 16 # along with this library; if not, write to the Free Software Foundation, Inc., 17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ---> 18 from _SourceXtractorPy import Flags ImportError: libgsl.so.25: cannot open shared object file: No such file or directory
I've reinstalled/updated gsl, onnxruntime, re2, and onnxruntime-cpp, and the problem has still persisted.
I fixed the issue by downgrading gsl from 2.7.1 to 2.7
After installing SX++ with conda into a new environment (version 0.19.2), the package fails to import in python with the following message:
I've reinstalled/updated gsl, onnxruntime, re2, and onnxruntime-cpp, and the problem has still persisted.