Failed deployment , cannot install on Python version 3.11.9 llvmlite error
Hi,
My deployment failed due to an incompatible python version .
10 20.54 RuntimeError: Cannot install on Python version 3.11.9; only versions >=3.7,<3.11 are supported.
Any advice on how to proceed is much appreciated. I tried both llvmlite==0.41.1 and llvmlite==0.39.1. The project uses Python 3.8 and runs locally without error. Additionally, a deployment 11 months with llvmlite==0.39.1. did not result in an error.
Thanks a lot.
#10 22.77 Downloading llvmlite-0.39.1.tar.gz (132 kB)
#10 22.80 Installing build dependencies: started
#10 24.58 Installing build dependencies: finished with status 'done'
#10 24.58 Getting requirements to build wheel: started
10 20.54 error: subprocess-exited-with-error
10 20.54 × Getting requirements to build wheel did not run successfully.
10 20.54 │ exit code: 1
10 20.54 ╰─> [21 lines of output]
....
10 20.54 RuntimeError: Cannot install on Python version 3.11.9; only versions >=3.7,<3.11 are supported.
Solution:Jump to solution
New reply sent from Help Station thread:
Please see this docs page on how to set a python version -https://nixpacks.com/docs/providers/python#setupYou're seeing this because this thread has been automatically linked to the Help Station thread....
Python | Nixpacks
App source + Nix packages + Docker = Image
4 Replies
Project ID:
af9a267b-9249-4a86-858d-1a128afd703a
Project ID: af9a267b-9249-4a86-858d-1a128afd703a
Solution
New reply sent from Help Station thread:
Please see this docs page on how to set a python version -https://nixpacks.com/docs/providers/python#setupYou're seeing this because this thread has been automatically linked to the Help Station thread.
Python | Nixpacks
App source + Nix packages + Docker = Image
Thanks a lot for the reply. Setting the python version and changing the version of some other packages solved the issue.