Installing a python library in an R notebook on Google Colab

Viewed 462

I'm trying to install a python library in an R notebook on Google Colab, I use for this the 'reticulate' package:

library(reticulate)
py_install("pandas")

But I get as a result this error:

Error: could not find a Python environment for /usr/bin/python3

Is there a work around this error?

1 Answers
Related