You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm trying to use a custom image with a python virtual env setup with Pixi but I'm getting this error:
2024-12-09 01:39:48,406 - ERROR - Exiting worker due to startup error
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/beta9/runner/common.py", line 242, in execute_lifecycle_method
result = method()
File "/mnt/code/src/beam_server.py", line 4, in init_models
from marker.converters.pdf import PdfConverter
ModuleNotFoundError: No module named 'marker'
This is the relevant part of my Dockerfile (linked to full repo):
I'm wondering what Python interpreter/virtual env beta9 uses to run startup code and if is different than what is used to run the regular function code. Or if there's any way to get it to use the right virtualenv interpreter specified in my Dockerfile.
Bug description
Hi I'm trying to use a custom image with a python virtual env setup with Pixi but I'm getting this error:
This is the relevant part of my Dockerfile (linked to full repo):
I'm wondering what Python interpreter/virtual env beta9 uses to run startup code and if is different than what is used to run the regular function code. Or if there's any way to get it to use the right virtualenv interpreter specified in my Dockerfile.
How to reproduce
beam deploy src/beam_server.py:handler
curl -X POST 'https://<yourendpoint>.app.beam.cloud/convert'
and see the error in the logs (it retries 3 times)Environment
49d16420-e26d-4d7f-92ec-c94ab188c2d5
marker-pdf-converterThe text was updated successfully, but these errors were encountered: