Facing issues with python version, for fast api backend
mgsankai
HOBBYOP

9 months ago

Deploying from git repo. Getting error where automatic docker build sets python version to 3.9 but we need 3.10.

internal

load metadata for docker.io/library/python:3.9-slim-buster

Solved$10 Bounty

Pinned Solution

9 months ago

Hello!

You can set your Python version to 3.10 using the RAILPACK_PYTHON_VERSION. Just go to the variables tab and set RAILPACK_PYTHON_VERSION to 3.10.

Keep in mind this is all assuming you're not using an explicit Dockerfile and are using Railpack.

1 Replies

9 months ago

Hello!

You can set your Python version to 3.10 using the RAILPACK_PYTHON_VERSION. Just go to the variables tab and set RAILPACK_PYTHON_VERSION to 3.10.

Keep in mind this is all assuming you're not using an explicit Dockerfile and are using Railpack.


Status changed to Solved brody 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...