For some time, my app was running smoothly on Anvil-App-Server v1.8.0.
However, a few hours ago, I started getting the following error in my application:
ModuleNotFoundError: No module named 'functools'
Traceback:
app/anvil_extras/non_blocking.py:8
app/SSP/data.py:13
app/SSP/startup.py:3

-
The ‘anvil_extras’ module is used as a dependency and was installed using the cloning method. It is not linked to the current version, and I manually update the dependencies.
-
I have tried switching between multiple Anvil-App-Server versions (1.7.6, 1.8.0, and 1.9.0)
-
Additionally, I upgraded my Python version from 3.8 to 3.10.13
That error seems persistent.
My app’s installation is standalone, using the open-source Anvil runtime. So it’s not linked to Anvil.works or Anvil cloud servers. I’m curious about what might be causing this error. Since no changes were made to the OS or Python environment, I’m wondering what could trigger it.
Any advice on how to fix it?