Mise not importing
polalalar
FREEOP

2 months ago

When trying to run my code, i got an error mise wasn't installing. I've checked some older threads and think it might have something to do with a new mise update (approximately an hour ago). Could anyone confirm this or let me know what i'm doing wrong, thanks!

install mise packages: python

mise python@3.13.12 [1/3] install

mise python@3.13.12 [1/3] download cpython-3.13.12+20260320-x86_64-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz

mise python@3.13.12 [1/3] extract cpython-3.13.12+20260320-x86_64-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz

mise ERROR Failed to install core:python@3.13.12: Python installation is missing a lib directory

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

Solved

6 Replies

Railway
BOT

2 months ago

The build log shows mise is downloading the "freethreaded" variant of CPython 3.13.12, which is missing the expected lib directory. This is an upstream issue with how mise resolves the Python build variant, not something wrong with your code. As a workaround, you can try setting the environment variable MISE_PYTHON_FLAVOR=cpython in your service settings, or pin to Python 3.12 (e.g., python@3.12) which does not have this issue.


Status changed to Awaiting User Response Railway 2 months ago


polalalar
FREEOP

2 months ago

No clue where i can find the environment variable (unless it's in the variables tab, but that didn't fix the issue).


Status changed to Awaiting Railway Response Railway 2 months ago


2 months ago

Hi there, we are tracking this issue with upstream Mise and will have a fix out soon


Status changed to Awaiting User Response Railway 2 months ago


isaiahbuilds
PRO

2 months ago

Yeah im having this issue to. Replying so i can get updates.


Status changed to Awaiting Railway Response Railway 2 months ago


2 months ago

We have just released a fix (Railpack v0.21.0). All you need to do is redeploy and all should be good.


Status changed to Awaiting User Response Railway 2 months ago


Status changed to Solved jr 2 months ago


polalalar
FREEOP

2 months ago

Great thanks!


Status changed to Awaiting Railway Response Railway 2 months ago


Status changed to Solved polalalar 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...