[Frappe Cloud] Ability to install packages and dependencies?

Hello,
For Frappe Cloud users, how can we install packages and dependencies on benches?
Also has anyone been able to access via SSH?

Hi @Yamen_Zakhour,

I donā€™t know much about it, but if you havenā€™t looked into it yet, I can give you the old documentation as a reference. It might still be useful because the process seems similar.

Thank You!

If you need to add any requirements to bench python environment then add it part of dependencies of your custom app. In pyproject.toml or requirements.txt

When your app is installed itā€™ll install all the libraries as part of bench python env.

3 Likes

Thanks!

Actually the process is still the same, however, the ā€œGenerate SSH certificateā€ button is broken.

What about if the app already installed, and later on I have upgrade the requirements.txt in the app. But as we manager to update code, the new lib is not installed.

Note: I am using frappe cloud.

Can you execute bench setup requirements on frappe cloud?

Can someone help I have the same problem. I just created my_app/requirements.txt and I add in the code qrcode
ā€œqrcode[pil]ā€
but I receive error message

Failed to get method for command erpnext_config.public.py.qrcode.generate_qr_code with No module named ā€˜qrcodeā€™

Thank you