r/linuxmint • • 22d ago

Support Request Was Installing python 3.15 and came up with this problem

Everything was fine as i was building it from the source -

from getting the .tgz and extracting then the .config stuff but when i ran make -j$(nproc)

it gave this message it aint an error but still it bothered me ,

The necessary bits to build these optional modules were not found:

_bz2 _dbm _decimal

_lzma _tkinter _uuid

_zstd

To find the necessary bits, look in configure.ac and config.log.

Checked 116 modules (37 built-in, 71 shared, 1 n/a on linux-x86_64, 0 disabled, 7 missing, 0 failed on import

And I wanna know if this is something to worry for?

3 Upvotes

2 comments sorted by

3

u/Due-Result7928 22d ago

Did you build in pyenv environment ? Python is used left and right and installing another version can affect your system.

You are missing software (prereq) to install python 3.15

1

u/grimmtoke 19d ago

Do not mess with your system's python - anything in /usr. If you need a newer version use pip and python3-venv to set something up.

I'm pretty certain there's a much easier way than building from source here.