I’ve tried “rebuild any AUR Python packages that install files to site-packages”, but it doesn’t work.
How can I “link to libpython3.11.so”?
If you want to help me, please read my “About me”,
and I’d appreciate a command line to be able to “link to libpython3.11.so” to solve my problems I’m having.
You can’t. The system python is 3.12 and you have to rebuild all AUR packages. The announcement post should have some guidance on this.
Otherwise, you could use pyenv to install 3.11 locally for your user and use virtualenvs for the third-party packages. However, this is not compatible with AUR.
To elaborate on my previous answer: if you cannot/do not know how to/do not want to rebuild or use venv or pipx or pyenv, you may find using containerized formats like flatpak or appimage useful, if the program is available (you still have not elaborated on that)