Unable to install Python Package in R Studio

Hello,

I want to install the 'pyqrcode' python package in r studio with reticulate. Below is my code:

py_install("pyqrcode")

Although I have successfully installed other python packages in r studio, this one gives this error in my console:

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]

Any suggestion about what could be the problem, please?

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.