Couldn't install Plotly

Be some reason, I couldn't install plotly in linux.

I get the following error:

Using PKG_CFLAGS=
--------------------------- [ANTICONF] --------------------------------
Configuration failed because openssl was not found. Try installing:
 * deb: libssl-dev (Debian, Ubuntu, etc)
 * rpm: openssl-devel (Fedora, CentOS, RHEL)
 * csw: libssl_dev (Solaris)
 * brew: openssl@1.1 (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
tools/version.c:1:10: fatal error: openssl/opensslv.h: No such file or directory
    1 | #include <openssl/opensslv.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

I already have openssle installed. How do I check if pkg-config is is the PATH?? And how do I check if PKG_CONFIG_PATH contains a openssl.pc file?? I'm not an expert. Please help.

:frowning:

I consider myself more knowledgable in R than in Linux configuration, I would recommend seeking help from linux experts over R experts for this challenge of yours. You may be able to google about and work your way to a solution. for example, you ask how to check if pkg-config is in the PATH. - What the heck is my PATH, and how do I get it to do what I want? (astrobiomike.github.io)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.