PyMeshLab icon indicating copy to clipboard operation
PyMeshLab copied to clipboard

ImportError: libglib-2.0.so.0: cannot open shared object file: No such file or directory

Open MikoSamey opened this issue 2 years ago • 1 comments

Hello! I am having a go at getting PyMeshLab installed on Linux. I used pip3 install pymeshlab to install.Everything seems to install fine - however when I try to load the module I get the following error:

(icon) root:/# python
Python 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:18) 
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymeshlab
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/miniconda3/envs/icon/lib/python3.8/site-packages/pymeshlab/__init__.py", line 14, in <module>
    from .pmeshlab import *
ImportError: libglib-2.0.so.0: cannot open shared object file: No such file or directory

I also used apt update && apt install --yes libgl1-mesa-dev as you mentioned in Issues ImportError: libGL.so.1: cannot open But it didn't work.

Strangely, I also installed pymeshlab==0.2.1 in another Linux,for it's GLIBC_2.23.It's runnable,and it does not have this file libglib-2.0.so.0

Do you have any suggestions for how I can get this running?

Thanks!

MikoSamey avatar Aug 10 '22 12:08 MikoSamey

Got a very similar error on mac after successfully installing.

Traceback (most recent call last): File "remesh.py", line 1, in <module> import pymeshlab File "/Users/luke/Documents/dataset-testing/env/lib/python3.8/site-packages/pymeshlab/__init__.py", line 11, in <module> from .pmeshlab import * ModuleNotFoundError: No module named 'pymeshlab.pmeshlab'

luke23571113 avatar Aug 10 '22 15:08 luke23571113

This issue has been automatically marked as stale because it has not had recent activity. The resources of the VCLab team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the last release of PyMeshLab, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

stale[bot] avatar Oct 15 '22 18:10 stale[bot]

See #157.

alemuntoni avatar Oct 17 '22 13:10 alemuntoni