conda-forge / graph-tool-feedstock

A conda-smithy repository for graph-tool.
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

AssertionError in gobject-introspection? #63

Closed deklanw closed 3 years ago

deklanw commented 3 years ago

Issue:

Fresh gt environment, only installed ipykernel

conda create --name gt -c conda-forge graph-tool
conda activate gt
conda install ipykernel

when I run

import graph_tool.all as gt

I get

---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-5-f96fce82bbfd> in <module>
----> 1 import graph_tool.all as gt

~/anaconda3/envs/gt/lib/python3.9/site-packages/graph_tool/all.py in <module>
     32 import graph_tool.centrality
     33 try:
---> 34     from graph_tool.draw import *
     35     import graph_tool.draw
     36 except ImportError as e:

~/anaconda3/envs/gt/lib/python3.9/site-packages/graph_tool/draw/__init__.py in <module>
    833 
    834 try:
--> 835     from . cairo_draw import graph_draw, cairo_draw, \
    836         get_hierarchy_control_points, default_cm, default_clrs, draw_hierarchy
    837     __all__ += ["draw_hierarchy"]

~/anaconda3/envs/gt/lib/python3.9/site-packages/graph_tool/draw/cairo_draw.py in <module>
   1494     import gi
   1495     gi.require_version('Gtk', '3.0')
-> 1496     from gi.repository import Gtk, Gdk, GdkPixbuf
   1497     from gi.repository import GObject as gobject
   1498     from .gtk_draw import *

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _find_and_load(name, import_)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _find_and_load_unlocked(name, import_)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _load_unlocked(spec)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _load_backward_compatible(spec)

~/anaconda3/envs/gt/lib/python3.9/site-packages/gi/importer.py in load_module(self, fullname)
    142             # https://bugzilla.gnome.org/show_bug.cgi?id=656314
    143             for dep in repository.get_immediate_dependencies(namespace):
--> 144                 importlib.import_module('gi.repository.' + dep.split("-")[0])
    145             dynamic_module = load_overrides(introspection_module)
    146 

~/anaconda3/envs/gt/lib/python3.9/importlib/__init__.py in import_module(name, package)
    125                 break
    126             level += 1
--> 127     return _bootstrap._gcd_import(name[level:], package, level)
    128 
    129 

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _gcd_import(name, package, level)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _find_and_load(name, import_)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _find_and_load_unlocked(name, import_)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _load_unlocked(spec)

~/anaconda3/envs/gt/lib/python3.9/importlib/_bootstrap.py in _load_backward_compatible(spec)

~/anaconda3/envs/gt/lib/python3.9/site-packages/gi/importer.py in load_module(self, fullname)
    143             for dep in repository.get_immediate_dependencies(namespace):
    144                 importlib.import_module('gi.repository.' + dep.split("-")[0])
--> 145             dynamic_module = load_overrides(introspection_module)
    146 
    147         dynamic_module.__file__ = '<%s>' % fullname

~/anaconda3/envs/gt/lib/python3.9/site-packages/gi/overrides/__init__.py in load_overrides(introspection_module)
    116             return introspection_module
    117 
--> 118         override_mod = importlib.import_module(override_package_name)
    119 
    120     finally:

~/anaconda3/envs/gt/lib/python3.9/importlib/__init__.py in import_module(name, package)
    125                 break
    126             level += 1
--> 127     return _bootstrap._gcd_import(name[level:], package, level)
    128 
    129 

~/anaconda3/envs/gt/lib/python3.9/site-packages/gi/overrides/Gdk.py in <module>
     81                          int(blue * Color.MAX_VALUE))
     82 
---> 83     Color = override(Color)
     84     __all__.append('Color')
     85 

~/anaconda3/envs/gt/lib/python3.9/site-packages/gi/overrides/__init__.py in override(type_)
    193 
    194         g_type = info.get_g_type()
--> 195         assert g_type != TYPE_NONE
    196         if g_type != TYPE_INVALID:
    197             g_type.pytype = type_

AssertionError: 


Environment (conda list):

``` $ conda list # packages in environment at /home/deklan/anaconda3/envs/gt: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_gnu conda-forge at-spi2-atk 2.38.0 h0630a04_3 conda-forge at-spi2-core 2.40.3 h0630a04_0 conda-forge atk-1.0 2.36.0 h3371d22_4 conda-forge backcall 0.2.0 pyhd3eb1b0_0 boost 1.74.0 py39h5472131_3 conda-forge boost-cpp 1.74.0 h312852a_4 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge ca-certificates 2021.7.5 h06a4308_1 cairo 1.16.0 h6cf1ce9_1008 conda-forge cairomm 1.12.2 ha770c72_3 conda-forge cairomm-1.0 1.12.2 h56b4340_3 conda-forge certifi 2021.5.30 py39h06a4308_0 cffi 1.14.6 py39he32792d_0 conda-forge cycler 0.10.0 py_2 conda-forge dbus 1.13.6 h48d8840_2 conda-forge decorator 5.0.9 pyhd3eb1b0_0 epoxy 1.5.8 h7f98852_0 conda-forge expat 2.4.1 h9c3ff4c_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.13.1 hba837de_1005 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge freetype 2.10.4 h0708190_1 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge gdk-pixbuf 2.42.6 h04a7f16_0 conda-forge gettext 0.19.8.1 h0b5b191_1005 conda-forge glib 2.68.3 h9c3ff4c_0 conda-forge glib-tools 2.68.3 h9c3ff4c_0 conda-forge gmp 6.2.1 h58526e2_0 conda-forge gobject-introspection 1.68.0 py39hcb793ab_1 conda-forge graph-tool 2.43 py39hc4320a7_0 conda-forge graph-tool-base 2.43 py39h8160539_0 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge gtk3 3.24.29 h8879c87_1 conda-forge harfbuzz 2.8.2 h83ec7ef_0 conda-forge hicolor-icon-theme 0.17 ha770c72_2 conda-forge icu 68.1 h58526e2_0 conda-forge ipykernel 5.3.4 py39hb070fc8_0 ipython 7.22.0 py39hb070fc8_0 ipython_genutils 0.2.0 pyhd3eb1b0_1 jbig 2.1 h7f98852_2003 conda-forge jedi 0.17.2 py39h06a4308_1 jpeg 9d h36c2ea0_0 conda-forge jupyter_client 6.1.12 pyhd3eb1b0_0 jupyter_core 4.7.1 py39h06a4308_0 kiwisolver 1.3.1 py39h1a9c180_1 conda-forge krb5 1.19.2 hcc1bbae_0 conda-forge lcms2 2.12 hddcbb42_0 conda-forge ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge lerc 2.2.1 h9c3ff4c_0 conda-forge libblas 3.9.0 10_openblas conda-forge libcblas 3.9.0 10_openblas conda-forge libcups 2.3.3 hf5a7f15_0 conda-forge libdeflate 1.7 h7f98852_5 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libffi 3.3 h58526e2_2 conda-forge libgcc-ng 11.1.0 hc902ee8_6 conda-forge libgfortran-ng 11.1.0 h69a702a_6 conda-forge libgfortran5 11.1.0 h6c583b3_6 conda-forge libglib 2.68.3 h3e27bee_0 conda-forge libgomp 11.1.0 hc902ee8_6 conda-forge libiconv 1.16 h516909a_0 conda-forge liblapack 3.9.0 10_openblas conda-forge libopenblas 0.3.17 pthreads_h8fe5266_1 conda-forge libpng 1.6.37 h21135ba_2 conda-forge librsvg 2.50.7 hc3c00ef_0 conda-forge libsodium 1.0.18 h7b6447c_0 libstdcxx-ng 11.1.0 h56837e0_6 conda-forge libtiff 4.3.0 hf544144_1 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libwebp-base 1.2.0 h7f98852_2 conda-forge libxcb 1.13 h7f98852_1003 conda-forge libxml2 2.9.12 h72842e0_0 conda-forge lz4-c 1.9.3 h9c3ff4c_1 conda-forge matplotlib-base 3.4.2 py39h2fa2bec_0 conda-forge ncurses 6.2 h58526e2_4 conda-forge numpy 1.21.1 py39hdbf815f_0 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openjpeg 2.4.0 hb52868f_1 conda-forge openssl 1.1.1k h27cfd23_0 pango 1.48.7 hb8ff022_0 conda-forge parso 0.7.0 py_0 pcre 8.45 h9c3ff4c_0 conda-forge pexpect 4.8.0 pyhd3eb1b0_3 pickleshare 0.7.5 pyhd3eb1b0_1003 pillow 8.3.1 py39ha612740_0 conda-forge pip 21.2.2 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h36c2ea0_0 conda-forge prompt-toolkit 3.0.17 pyh06a4308_0 pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3eb1b0_2 pycairo 1.20.1 py39hedcb9fc_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pygments 2.9.0 pyhd3eb1b0_0 pygobject 3.40.1 py39he5105b2_1 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge python 3.9.6 h49503c6_1_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python_abi 3.9 2_cp39 conda-forge pyzmq 20.0.0 py39h2531618_1 readline 8.1 h46c0cb4_0 conda-forge scipy 1.7.0 py39hee8e79c_1 conda-forge setuptools 49.6.0 py39hf3d152e_3 conda-forge sigcpp-2.0 2.10.7 h9c3ff4c_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sparsehash 2.0.4 h9c3ff4c_0 conda-forge sqlite 3.36.0 h9cd32fc_0 conda-forge tk 8.6.10 h21135ba_1 conda-forge tornado 6.1 py39h3811e60_1 conda-forge traitlets 5.0.5 pyhd3eb1b0_0 tzdata 2021a he74cb21_1 conda-forge wcwidth 0.2.5 py_0 wheel 0.36.2 pyhd3deb0d_0 conda-forge xorg-fixesproto 5.0 h7f98852_1002 conda-forge xorg-inputproto 2.3.2 h7f98852_1002 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.0.10 h7f98852_0 conda-forge xorg-libsm 1.2.3 hd9c2040_1000 conda-forge xorg-libx11 1.7.2 h7f98852_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h7f98852_1 conda-forge xorg-libxfixes 5.0.3 h7f98852_1004 conda-forge xorg-libxi 1.7.10 h7f98852_0 conda-forge xorg-libxrender 0.9.10 h7f98852_1003 conda-forge xorg-libxtst 1.2.3 h7f98852_1002 conda-forge xorg-recordproto 1.14.2 h7f98852_1002 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h7f98852_1002 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xz 5.2.5 h516909a_1 conda-forge zeromq 4.3.4 h2531618_0 zlib 1.2.11 h516909a_1010 conda-forge zstandard 0.15.2 py39h3811e60_0 conda-forge zstd 1.5.0 ha95c52a_0 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : gt active env location : /home/deklan/anaconda3/envs/gt shell level : 2 user config file : /home/deklan/.condarc populated config files : conda version : 4.10.3 conda-build version : 3.21.4 python version : 3.8.8.final.0 virtual packages : __linux=5.10.16.3=0 __glibc=2.31=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/deklan/anaconda3 (writable) conda av data dir : /home/deklan/anaconda3/etc/conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/deklan/anaconda3/pkgs /home/deklan/.conda/pkgs envs directories : /home/deklan/anaconda3/envs /home/deklan/.conda/envs platform : linux-64 user-agent : conda/4.10.3 requests/2.25.1 CPython/3.8.8 Linux/5.10.16.3-microsoft-standard-WSL2 ubuntu/20.04.2 glibc/2.31 UID:GID : 1000:1000 netrc file : None offline mode : False ```
stuarteberg commented 3 years ago

I can't reproduce on my own linux machine. Here's the environment I ended up with. I don't have time to investigate, but you could try comparing this environment with yours:

Environment details ``` # packages in environment at /groups/flyem/proj/cluster/miniforge/envs/test-gt: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_gnu conda-forge at-spi2-atk 2.38.0 h0630a04_3 conda-forge at-spi2-core 2.40.3 h0630a04_0 conda-forge atk-1.0 2.36.0 h3371d22_4 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge boost 1.74.0 py39h5472131_3 conda-forge boost-cpp 1.74.0 h312852a_4 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge ca-certificates 2021.5.30 ha878542_0 conda-forge cairo 1.16.0 h6cf1ce9_1008 conda-forge cairomm 1.12.2 ha770c72_3 conda-forge cairomm-1.0 1.12.2 h56b4340_3 conda-forge certifi 2021.5.30 py39hf3d152e_0 conda-forge cffi 1.14.6 py39he32792d_0 conda-forge cycler 0.10.0 py_2 conda-forge dbus 1.13.6 h48d8840_2 conda-forge debugpy 1.4.1 py39he80948d_0 conda-forge decorator 5.0.9 pyhd8ed1ab_0 conda-forge epoxy 1.5.8 h7f98852_0 conda-forge expat 2.4.1 h9c3ff4c_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.13.1 hba837de_1005 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge freetype 2.10.4 h0708190_1 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge gdk-pixbuf 2.42.6 h04a7f16_0 conda-forge gettext 0.19.8.1 h0b5b191_1005 conda-forge glib 2.68.3 h9c3ff4c_0 conda-forge glib-tools 2.68.3 h9c3ff4c_0 conda-forge gmp 6.2.1 h58526e2_0 conda-forge gobject-introspection 1.68.0 py39hcb793ab_1 conda-forge graph-tool 2.43 py39hc4320a7_0 conda-forge graph-tool-base 2.43 py39h8160539_0 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge gtk3 3.24.29 h8879c87_1 conda-forge harfbuzz 2.8.2 h83ec7ef_0 conda-forge hicolor-icon-theme 0.17 ha770c72_2 conda-forge icu 68.1 h58526e2_0 conda-forge ipykernel 6.0.3 py39hef51801_0 conda-forge ipython 7.26.0 py39hef51801_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jbig 2.1 h7f98852_2003 conda-forge jedi 0.18.0 py39hf3d152e_2 conda-forge jpeg 9d h36c2ea0_0 conda-forge jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge jupyter_core 4.7.1 py39hf3d152e_0 conda-forge kiwisolver 1.3.1 py39h1a9c180_1 conda-forge krb5 1.19.2 hcc1bbae_0 conda-forge lcms2 2.12 hddcbb42_0 conda-forge ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge lerc 2.2.1 h9c3ff4c_0 conda-forge libblas 3.9.0 10_openblas conda-forge libcblas 3.9.0 10_openblas conda-forge libcups 2.3.3 hf5a7f15_0 conda-forge libdeflate 1.7 h7f98852_5 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libffi 3.3 h58526e2_2 conda-forge libgcc-ng 11.1.0 hc902ee8_6 conda-forge libgfortran-ng 11.1.0 h69a702a_6 conda-forge libgfortran5 11.1.0 h6c583b3_6 conda-forge libglib 2.68.3 h3e27bee_0 conda-forge libgomp 11.1.0 hc902ee8_6 conda-forge libiconv 1.16 h516909a_0 conda-forge liblapack 3.9.0 10_openblas conda-forge libopenblas 0.3.17 pthreads_h8fe5266_1 conda-forge libpng 1.6.37 h21135ba_2 conda-forge librsvg 2.50.7 hc3c00ef_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libstdcxx-ng 11.1.0 h56837e0_6 conda-forge libtiff 4.3.0 hf544144_1 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libwebp-base 1.2.0 h7f98852_2 conda-forge libxcb 1.13 h7f98852_1003 conda-forge libxml2 2.9.12 h72842e0_0 conda-forge lz4-c 1.9.3 h9c3ff4c_1 conda-forge matplotlib-base 3.4.2 py39h2fa2bec_0 conda-forge matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge ncurses 6.2 h58526e2_4 conda-forge numpy 1.21.1 py39hdbf815f_0 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openjpeg 2.4.0 hb52868f_1 conda-forge openssl 1.1.1k h7f98852_0 conda-forge pango 1.48.7 hb8ff022_0 conda-forge parso 0.8.2 pyhd8ed1ab_0 conda-forge pcre 8.45 h9c3ff4c_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 8.3.1 py39ha612740_0 conda-forge pip 21.2.2 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h36c2ea0_0 conda-forge prompt-toolkit 3.0.19 pyha770c72_0 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pycairo 1.20.1 py39hedcb9fc_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pygments 2.9.0 pyhd8ed1ab_0 conda-forge pygobject 3.40.1 py39he5105b2_1 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge python 3.9.6 h49503c6_1_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python_abi 3.9 2_cp39 conda-forge pyzmq 22.1.0 py39h37b5a0c_0 conda-forge readline 8.1 h46c0cb4_0 conda-forge scipy 1.7.0 py39hee8e79c_1 conda-forge setuptools 49.6.0 py39hf3d152e_3 conda-forge sigcpp-2.0 2.10.7 h9c3ff4c_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sparsehash 2.0.4 h9c3ff4c_0 conda-forge sqlite 3.36.0 h9cd32fc_0 conda-forge tk 8.6.10 h21135ba_1 conda-forge tornado 6.1 py39h3811e60_1 conda-forge traitlets 5.0.5 py_0 conda-forge tzdata 2021a he74cb21_1 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge xorg-fixesproto 5.0 h7f98852_1002 conda-forge xorg-inputproto 2.3.2 h7f98852_1002 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.0.10 h7f98852_0 conda-forge xorg-libsm 1.2.3 hd9c2040_1000 conda-forge xorg-libx11 1.7.2 h7f98852_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h7f98852_1 conda-forge xorg-libxfixes 5.0.3 h7f98852_1004 conda-forge xorg-libxi 1.7.10 h7f98852_0 conda-forge xorg-libxrender 0.9.10 h7f98852_1003 conda-forge xorg-libxtst 1.2.3 h7f98852_1002 conda-forge xorg-recordproto 1.14.2 h7f98852_1002 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h7f98852_1002 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xz 5.2.5 h516909a_1 conda-forge zeromq 4.3.4 h9c3ff4c_0 conda-forge zlib 1.2.11 h516909a_1010 conda-forge zstandard 0.15.2 py39h3811e60_0 conda-forge zstd 1.5.0 ha95c52a_0 conda-forge ```
deklanw commented 3 years ago

@stuarteberg thanks for the quick reply. Through a circuitous route I seem to have fixed it.... When diffing your environment against mine I noticed you were using conda-forge for everything. I figured it was worth a try so I ran

conda config --add channels conda-forge

to set conda-forge as high prio, then made a new environment as above. This time I got something new:

\ /home/deklan/anaconda3/envs/gt2/bin/gtk-query-immodules-3.0: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory
ERROR: Failed to complete gtk3's post-link script.
To fix this, activate the environment and run:
    glib-compile-schemas "/home/deklan/anaconda3/envs/gt2/share/glib-2.0/schemas"
    gtk-update-icon-cache -f -t "/home/deklan/anaconda3/envs/gt2/share/icons/hicolor"
    gtk-query-immodules-3.0 --update-cache

I followed the suggested instructions but it didn't seem to help. Once again it says

gtk-query-immodules-3.0: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory

Did some googling and found the suggestion to try

sudo apt install libxcursor1

Ran that and it worked. And, indeed, my original gt environment is working now as well.

stuarteberg commented 3 years ago

Looks like your original error was also encountered in #48, which remained unresolved, I think. Nice to now have a solution.

The second error is a known issue. It's the same as #27 and #29. In #29, there are some links to the primary discussion in the gtk3 recipe.

Anyway, glad you got it working.