Solved. Remove the version which can result in error:
rm -rf /home/debian/strange/lib/python3.11/site-packages/uno
Enter into virtual environment:
cd strange
source bin/activate
Do as the project work on virtual environment say.
pip install oooenv
oooenv cmd-link -a
Try again:
(strange) debian@debian:~$ python3
Python 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
>>>