Hi @Emil, hope you are well.
I´m trying to update my app to the last version of dash and dash_extensions and I have an error when trying to deploy the app in render.com
The app is working well in my computer but not in render.com where the error code say that can’t find Serverside module from dash_extensions.enrich:
This is the message:
“ImportError: cannot import name ‘Serverside’ from ‘dash_extensions.enrich’ (/opt/render/project/src/.venv/lib/python3.7/site-packages/dash_extensions/enrich.py)”
I have this line in the requirements file:
I´ll apreciate your help
What version are you using?
In the requirement file I’m not specifying any version to let render.com to take the last one.
I just write:
I supuse it takes the last one
Please try specifying the latest version manually. Otherwise you might get a previous version, which would cause the error that you describe.
I tried specifying the last version but without success
It specify all the versions availables but all are to old. (Latest 0.1.11)
The error message also said that it’s using pip version 20.1.1. instead of last version 23.1.2, althoughI have installed in my computer the last version (23.1.2), I do not understand where do I have to upgrade it
Thanks again for your help.
I solved the problem with the dash-extensions version, apparently render uses python 3.7 instead of a newest version.
But now I have an other error that I understand it could be related to the use of DashProxy instead of Dash, because I didn’t have this error before changing that line.
The error said:
raise AppImportError(“Application object must be callable.”)
gunicorn.errors.AppImportError: Application object must be callable.