computationalpathologygroup/ASAP

import _multiresolutionimageinterface error

dddavid4real opened this issue · 7 comments

libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
File "/opt/ASAP/bin/multiresolutionimageinterface.py", line 15, in
import _multiresolutionimageinterface

You need to install libpython3.6-dev, I'm currently looking at forcing that dependency in the Deb file

On Sun, Dec 19, 2021, 06:57 Zhengrui Guo @.> wrote: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory File "/opt/ASAP/bin/multiresolutionimageinterface.py", line 15, in import _multiresolutionimageinterface — Reply to this email directly, view it on GitHub <#227>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJIFUFK3L3Y7EPTO2W3J2DURVX4DANCNFSM5KLP7A2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

The problem is, instead of using python3.6 installed under /usr, I would like to use python3.6 installed under my personal directory, such as /home/gzr/miniconda3/envs/py36/lib/python3.6 (because I share a linux server with other members). Therefore, I don't know if there will be problems when I use python under my own environment to import multiresolutionimage.

And when I try 'sudo find / -name libpython3.6m.so.1.0', it can be found in my own conda environment:

/home/gzr/miniconda3/envs/nic_reproduction/lib/libpython3.6m.so.1.0

Therefore, I'm guessing this is a conflict between python of my own environment and ASAP.

Unluckily, I have tried the method you mentioned and run 'export' command it shows that the environment variable has been exported:

declare -x LD_LIBRARY_PATH="/home/gzr/miniconda3/envs/nic_reproduction/lib:/home/gzr/miniconda3/envs/nic_reproduction/lib/:"

And it does not work, the error still exists.

I eventually solved this problem by installing libpython3.6-dev. Thanks!