Skip to content
Railpack Failed Python Install: mise ERROR failed to install core:[email protected]
vishal-parekh
OP

a year ago

Getting this error when trying to install Python using Railpack

install mise packages: pipx, pipx:poetry, python

1s

mise [email protected] install

mise ERROR failed to install core:[email protected]

mise ERROR no precompiled python found for core:[email protected] on x86_64-unknown-linux-gnu

mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Build Failed: build daemon returned an error < failed to solve: process "mise install" did not complete successfully: exit code: 1 >

$10 Bounty

16 Replies

cschweipert

a year ago

Me too, but not until the last deployment. It was working fine before.


domehane

a year ago

Hello vishal-parekh , i searched and i find that python3.13.11 has just released yesterday 5/12/2025

The problem is that mise doesn't have precompiled binaries for Python 3.13.11 yet because it hasn't been officially released. The error message confirms this: no precompiled python found for core:[email protected] on x86_64-unknown-linux-gnu


domehane

a year ago

you can change the 3.13.11 to a more stable one


domehane

a year ago

Python releases by version number:

check this website : https://www.python.org/downloads/


cschweipert

a year ago

How do I tell Railway which python version to use? I am still using 3.11. locally.


cschweipert

How do I tell Railway which python version to use? I am still using 3.11\. locally.

domehane

a year ago

railway uses Nixpacks by default, which auto-detects Python version from this file :

use .python-versionfile :

# create a file named .python-version in your project root
echo "3.11.13" > .python-version

create a .python-version file with just 3.11.13 in it, Railway/Nixpacks will respect this


cschweipert

a year ago

Thanks! Got it to work.


cschweipert

Thanks! Got it to work.

domehane

a year ago

happy to hear that, what about you vishal-parekh ?


vishal-parekh
OP

a year ago

I didn't need to try that solution because when I re-ran the deploy this morning, the build was successful.


domehane

a year ago

ok great , thanks for confirming the resolution! this helps document the fix for others :

so for anyone else hitting this error in the future:

if you get mise ERROR no precompiled python found for core:[email protected]

first try Redeploy/rebuild (this fixed it for vishal-parekh)

if that fails clear Railway's build cache or trigger a clean rebuild

if still failing check if the Python version exists and use .python-version file to specify an alternative


vishal-parekh
OP

a year ago

How is a build cache cleared ? I don't see in the option in the Railway settings...


domehane

a year ago

railway does NOT have a "Clear Cache" button in the UI settings , but you can add NO_CACHE=1 to your service's environment variables, redeploy, and you're done

i hope this was helpful


domehane

railway uses Nixpacks by default, which auto-detects Python version from this file : use `.python-version`file : ```bash # create a file named .python-version in your project root echo "3.11.13" > .python-version ``` create a `.python-version` file with just `3.11.13` in it, Railway/Nixpacks will respect this

a year ago

Railway does not use Nixpacks by default. Nixpacks is deprecated and considered "legacy", and they suggest moving to their new system Railpack. Railpack is the default on all new services.

If you need to use a custom Python version, you can set the RAILPACK_PYTHON_VERSION environment variable on your service to the version you want to use. More info here: https://railpack.com/languages/python#versions


proudparrot2

Railway does **not** use Nixpacks by default. Nixpacks is deprecated and considered "legacy", and they suggest moving to their new system Railpack. Railpack is the default on all new services. If you need to use a custom Python version, you can set the `RAILPACK_PYTHON_VERSION` environment variable on your service to the version you want to use. More info here: <https://railpack.com/languages/python#versions>

vishal-parekh
OP

a year ago

This is the correct response. And a better alternative to creating and maintaining a separate file just to reference a python version.


a year ago

So your problem did get resolved?


a year ago

By the way, if you are using a compiled version of python (not all versions of python are precompiled) it is not currently well supported. This is something on my TODO list and will be fixed soon! Sorry for the trouble here.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...