10 months ago
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.
1 Replies
10 months ago
Please see this docs page on how to set a python version -
https://nixpacks.com/docs/providers/python#setup
Thanks a lot for the reply. Setting the python version and changing the version of some other packages solved the issue.