orca
orca copied to clipboard
Not able to install libgtk2.0-0 on AWS linux AMI
orca --help
gives following error message
/usr/lib/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
According to documentation we need to install I am not able to install 'libgtk2.0-0' through "yum"
Can you tell us how you installed orca
? Thank you.
More info: https://github.com/plotly/orca#linux-troubleshooting-cannot-open-shared-object
Do you know which flavor of linux your AWS machine is running?
I see this issue on RHEL 7.4. I installed orca through conda: conda install -c plotly plotly-orca -y
.
My error has a different libgtk version but a similar error:
$ orca --help
/home/<username>/.conda/envs/orca/lib/orca_app/orca: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
I am having the same error when running orca --help
/opt/conda/envs/pysig/lib/orca_app/orca: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
From what I found on the web,
AWS AMI is AWS own linux distribution, the two packages do not exist when I try sudo yum install:
(pysig) [ec2-user@ip-xxx-xx-xx-xxx ~]$ sudo yum install libgtk2.0-0 Loaded plugins: priorities, update-motd, upgrade-helper amzn-main | 2.1 kB 00:00:00
amzn-updates | 3.8 kB 00:00:00
No package libgtk2.0-0 available. Error: Nothing to do (pysig) [ec2-user@ip-xxx-xx-xx-xxx ~]$ sudo yum install libgconf-2-4 Loaded plugins: priorities, update-motd, upgrade-helper No package libgconf-2-4 available. Error: Nothing to do
I tried the standalone orca binary and installed Xvfb on AWS AMI, still no luck after much wrangling. Why is getting plotly graphic library to run on headless Linux especialy AWS AMI is such a nightmare?
Any tip on how to proceed from here, anyone?
Same issue here, I would like to have a better explanation on how to install plotly-orca in a headless machine. I have a rhel 7.
In additon, I couldn't find anything on https://sites.google.com/site/orcainputlibrary/orca-common-problems as well.