import seaborn / ZLIB_1.2.9 issue?

R code:

library(reticulate)
py_install("seaborn")
use_virtualenv("r-reticulate")

sns <- import("seaborn")

Reticulate example code here. RStudio Cheat Sheets - RStudio

Error during seaborn import:
Error in py_module_import(module, convert = convert) :
ImportError: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/rstudio-user/.local/share/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/matplotlib/../../.././libpng16.so.16)

Meanwhile this seems to work ok:
sns <- import("scipy")

Any ideas for the seaborn import line:
sns <- import("seaborn")

Thanks in advance!

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