py_install("sklearn") - one or more Python packages failed to install [error code 137]

Hello! I am getting the following message, ending in error, when trying to install sklearn in a new RStudio Cloud project:
INPUT

py_install("sklearn.tree")

OUTPUT
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

# All requested packages already installed.

Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... Killed
Error: one or more Python packages failed to install [error code 137]

I already tried using conda_install, creating a new environment, same error.
Clearing objects and restarting R Session as suggested here didn't worked either.
I suspect it could be due to RStudio Cloud RAM limitations. Is there a way to work with this solution?
This is my project

Thanks!

It does look like you are bumping up against the 1GB RAM limit. Unfortunately, the solution you linked to won't work as there isn't an archived version at that location.

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