import seaborn / ZLIB_1.2.9 issue?

R code:


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/ 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/../../.././

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.