Fresh OctoPi installtion: MySQL driver not installed!

Due to Phyton update I've installed this time a new fresh OctoPi version (1.1.0 Octoprint 1.11.3 // 9.9.2025)
RaspBerry: 4/8gb

I reinstall my backup from the last working installation, but when starting up I got the error message: "MySQL driver not installed!"
This came from one plugin I use, I know this - but I don't know how to reinstall this driver in the actual OctoPi version (I don't use OctoPi in the past).

pip install pymysql didn't work, --> error: externally-managed-environment
Linux isn't really my world but I can handle it a little bit, but OctoPI seems more special ...

So my question, how to install a mySQL driver for an Octoprint Pluin in Octopi. I assume a Systeminfo Bundle isn't necessary for an answer to this question. If not, I will provide.

Thanks

The bundle may have answered this question but what is the name of the plugin?

It is possible that installing the plugin will install the necessary dependencies and if you uninstall and reinstall the plugin, it will handle the rest. If not, the documentation on the plugin repository might have instructions on how to install dependencies.

If neither of these methods has solved the problem, you could try an internet search on how to install MySQL on Debian 12 (bookworm). You will probably need both the native application as well as the Python interface.

Thanks,
The plugin is SpoolManager. My opinion was, that with reinstall the backup the used modules will fresh re-installed and only the configuration will used.
This module has an older (from last maintainer) MySQL db access and might have no mysql package, because in the old version you have to installed this for yourself. Now I use OctoPI install and was lost about the virtual environment and the dependencies to the native OS ...

source ~/oprint/bin/activate
pip install pymysql
deactivate
sudo service octoprint restart
1 Like

You made may day thanks 1.000 times !!!