Python and mysql dev dependecies

Hello everyone:

Which are de equivalent packages/libraries for compiling mysqlclient when installing via pip in Manjaro? In the pypi mysqlclient page says that these can be downloaded for Debian/Ubuntu:

python3-dev default-libmysqlclient-dev build-essential pkg-config,

which will be for Manjaro indetad?

Hi @johan88

This doesn’t directly answer your question.

However, you might find something useful or related in:

Cheers.

1 Like

The only assumption I can take from that tutorial is that by installing MariaDB I’ll be ready to compile the python module, however I intend to use databases via docker, but I’ll do it anyways, if it works, great then, the learning path is not a straight line. I’m downloading the .iso now, because I’m lookig for a good KDE experience but also I need I can install everything I need, I’ll try that soon.

Thank you so much for your time.

I recommend using a python virtual environment where the dependencies and packages are separated from the system.

If you already use docker for the database, you could also further separate the Python installations by using docker for them as well.

(The default python version is currently at 3.12, so it might be too new for your requirements.)

1 Like

You want python-mysqlclient. Do not use pip on the system python.

1 Like

Please check your spelling and arrange words in the order others can understand.

Either way, creating a development environment locally has nothing to do with the distro one is using.

Please seek help in the proper channels. This has nothing to do with Manjaro.