Hi everyone,
I’m running my Frappe App locally without any issues, but on Frappe Cloud I get the following error:
Failed to get method for command climate_edge_app.api.utils.get_user_subscriptions
with No module named 'xlsxwriter'
Here’s what I’ve done to include the library:
- Added the required libraries in
requirements.txt
:
frappe
pandas>=2.8.2
xlrd>=2.0.1
xlwt
fsspec
openpyxl
XlsxWriter
- Installed them locally using:
pip install -r requirements.txt
- Added the libraries in
setup.py
as well. - Configured them in the other packaging/config file (forgot the exact filename).
- Added the necessary hooks.
Everything works perfectly on my local machine, but Frappe Cloud doesn’t seem to recognize XlsxWriter
.
Environment:
- Ubuntu
- Python 3.10
- Latest Frappe version
Does anyone know how to ensure Frappe Cloud installs all the required libraries from requirements.txt
and setup files properly? Any advice would be greatly appreciated.
Thanks in advance!