Build runs with Python 3.8 and not Python 3.11?
Hello, I have a problem with my build because it seems like it's running Python 3.8 which should be Python 3.11.
Ofc my modules and stuff doesn't work properly because of this. How and where do I change this?
I added a screen here...
3 Replies
Project ID:
N/A
N/A
Referring to the nixpacks documentation, https://nixpacks.com/docs/providers/python
You may override the version of python by using the
NIXPACKS_PYTHON_VERSION
environment variable, by setting the version in a .python-version
file, or by setting the version in a runtime.txt
file
The default is 3.8, but you can just set the variable to 3.11, or make one of those files with just 3.11 in it