Closed deklanw closed 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:
@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.
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.
Issue:
Fresh gt environment, only installed ipykernel
when I run
I get
Environment (
conda list
):Details about
conda
and system (conda info
):