Hi,
Unfortunately, you're installing Spyder the wrong way by running
sudo pip install spyder
That mixes packages from PyPI with the ones provided by Fedora,
which are compiled differently and usually are incompatible among
themselves (it doesn't matter that in your other laptop you were
lucky and didn't have any errors).
So, please remove all packages you installed with pip (not only
Spyder, but each one), and if possible, all files and directories
under
/usr/local/lib/python3.10
Instead, please create a virtualenv (there are multiple methods to
do that, so you need to google for it) and install Spyder on it.
Also, as a cautionary note, Spyder is not ready for Python 3.10
yet (it has some minor bugs that will be fixed in our next
version), so you need to use a Python 3.9 virtualenv for it.
Cheers,
Carlos
El 23/01/22 a las 10:32 a. m., Krysztof
escribió: