I was trying to install a heavy package called docling (for document extraction) in a new anvil app, using Python 3.1 (Beta). I tried to import the package on the standard, data science and machine learning environments, but kept on running into “Error - Build failed” messages. I tried installing some of the dependencies first, but that also failed.
Now I seem to be unable to create any new environments. Even a simple build with the openai and anthropic libraries fails on the Standard environment, which in the past has worked fine.
I wonder whether I might have ran out of space because of the failed builds and a silly attempt to import pytorch at some point, which is one of the dependencies of docling?
Would appreciate some help to figure out what’s going on.
I’m also getting the same error message, having not used my app for some time. There is nothing indicating what is causing the error for me - although it gives this error:
anvil.server.RuntimeUnavailableError: Could not launch server runtime - image build failed.
at Accounts_Form, line 76
called from Accounts_Form, line 53
called from Accounts_Form, line 49
From this code:
data = anvil.server.call('get_all_accounts_with_project_count')