ModuleNotFoundError: No module named 'psycopg2'
has-n
HOBBYOP

9 months ago

I'm trying to deploy the containers from this compose file individually https://github.com/Skyvern-AI/skyvern/blob/main/Dockerfile

For the skyvern image, I'm running into the titled error. I tried adding a pip install psycopg2-binary pre-deploy command but that didn't help.

Short of forking & building my own image, is there a quick fix in Railway for this?

Solved

1 Replies

You can't do a pip install in the pre-deploy, you will need to make sure that your dependencies are installed in the Dockerfile of the root of your file.


Status changed to Awaiting User Response Railway 9 months ago


Status changed to Solved has-n 9 months ago


Loading...