*I have fixed it by doing: * pip install --no-index --find-links /home/admin/pyvmomi/ --force-reinstall -v "pyvmomi>=7.0.2" --break-system-packages
(As you can see, I am on an airgapped system and saved the offline packagse in /home/admin/pyvmomi, you should be able to drop the part if you are online) copy the installed files from the python3.11 packages to the python3 packages. It might only work if a specific python verison is installed because the "python3" apt package is "more managed" (?). In this case install "apt install python3.11" or the equivalent newest python verison. cp -r /usr/local/lib/python3.11/dist-packages/pyVim /usr/lib/python3/dist-packages/ cp -r /usr/local/lib/python3.11/dist-packages/pyVmomi /usr/lib/python3/dist-packages/ cp -r /usr/local/lib/python3.11/dist-packages/pyvmomi-8.0.2.0.1.dist-info /usr/lib/python3/dist-packages/ For some reason Bareos would not eat packages which are in /python3.11/dist-packages. I was able to see the modules everywhere. I would launch python3, python, python311 and every time I was able to successfully import them. I scanned for venvs, I created a venv for bareos itself but to no avail. Only copying the files manually would do it. Maybe this is something to look at for the vmware plugin. Leon Bartle schrieb am Montag, 3. Juni 2024 um 16:17:24 UTC+2: > Debian famously runs 6.7.1-4 of python3-pyvmomi in their newest debian 12 > buster. There are no backports. > Bareos requires pyVmomi module version 7.0.2 or greater. > > I tried installing it like this in both the root and bareos user > pip install --force-reinstall -v "pyvmomi>=7.0.2" --break-system-packages > but to no avail. > > Before I destroy my entire linux distro and bareos installation, has > anyone of you an idea on how to resolve this depencency chaos? > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/da8ed33a-9b3e-4387-8bf7-6bda87ab3677n%40googlegroups.com.
