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

5 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

5 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

5 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 5 months ago


Loading...