Deployment Issue with Python App - Error in Nixpacks Build
vanguar
PROOP

2 years ago

I'm encountering an issue while deploying my Python-based website on Railway. The deployment process stops with the following error message:
You reached the start of the range → Sep 3, 2024 11:52 PM

[Region: us-west1]

==============

Using Nixpacks

==============

context: fef7a86b70179247a98cd3f615a44688

8 [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d

8 CACHED

It seems that the deployment process is getting stuck at the nix-env step. Could you please help me resolve this issue?

Thank you in advance!

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

3 Replies

2 years ago

what version of python do you use locally?


vanguar
PROOP

a year ago

Good afternoon. I am using python-3.10.7.


a year ago

Try adding a runtime.txt file to your project with 3.10 in it.


Loading...