caleb4536
Deployment Issue: ModuleNotFoundError for Flask with Poetry-based Project
Hey Brody and Furimu,
Thanks for getting back so quick!
@Brody : Yep, was using poetry with a pyproject.toml before. Switched over to a requirements.txt now for the Railway deploy.
@furimu : About the pyproject.toml - it had the usual stuff, dependencies and all. But since I'm on requirements.txt now, not sure if that matters anymore. Still, if you wanna see it, just let me know.
Got the app up on Railway, but hitting an endpoint doesn’t give any response. Kinda stumped here.
Here is my procfile:
and my app.py
and the command I'm using to call the server
curl -X GET <url>/test
Thanks a ton for the help!14 replies