Skip to content
Back

Help me deploy on Render

  • 0
  • 4
  • General
Sunny
11 Nov, 2025, 06:30

==> Deploying... self.app.wsgi() ~~~~~~~~~~~~~^^ File "/opt/render/project/src/.venv/lib/python3.13/site-packages/gunicorn/app/base.py", line 66, in wsgi self.callable = self.load() ~~~~~~~~~^^ File "/opt/render/project/src/.venv/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 57, in load return self.load_wsgiapp() ~~~~~~~~~~~~~~~~~^^ File "/opt/render/project/src/.venv/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp return util.import_app(self.app_uri) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/opt/render/project/src/.venv/lib/python3.13/site-packages/gunicorn/util.py", line 370, in import_app mod = importlib.import_module(module) File "/opt/render/project/python/Python-3.13.4/lib/python3.13/importlib/init.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 1026, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/render/project/src/app.py", line 9, in <module> from appwrite.services.tables_db import TablesDB ModuleNotFoundError: No module named 'appwrite.services.tables_db' ==> Exited with status 1

Hey everyone, I am trying to deploy a small website on Render. I have a Github repository that has the code I'm trying to deploy. For some reason, I can't import the TablesDB. I even had this issue while working on my laptop.

Flask>=3.0.0,<4.0.0 python-dotenv>=1.0.0,<2.0.0 appwrite==11.0.0 gunicorn>=22.0.0

Sorry, I'm not super technical. Please help! Thx

TL;DR
The user needed help deploying on Render. The issue was due to using an older version of Appwrite's Python SDK. Upgrading to version 13.6.1 fixed the problem. Additionally, a pull request was made to update Appwrite's documentation.
11 Nov, 2025, 09:12

Yes <@1298414953895825432> . This error is obvious as you are using older version of Appwrite's Python SDK, which supported the collection-based database only and didn't included appwrite.services.tables_db. For the new TablesDB (which you're trying to use within your project), you must switch to latest version i.e. Version: 13.6.1 of Appwrite's Python SDK. And for that, run this command: pip install --upgrade appwrite

1
12 Nov, 2025, 05:46

It's working now! I think Appwrite needs to update their documentation :/ for Python πŸ˜‚

Thank you so much Devika!

https://appwrite.io/docs/quick-starts/python

12 Nov, 2025, 06:20

Yes. I've made a pull request to make changes about the same: https://discord.com/channels/564160730845151244/636852860709240842/1438106808966451281

12 Nov, 2025, 16:53

i appreciate it, our team has been working on making these changes and already put in a PR. Very thoughtful of you to put in the work, just make sure to ask a team member first so there isn't any wasted efforts ❀️

1
12 Nov, 2025, 17:00

Surely! And sorry I didn't asked earlier

12 Nov, 2025, 19:25

all good, i appreciate you showing you care about improvements πŸ™‚

1
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more