Hello, Today I tried to install SleekXMPP on Ubuntu 22.04, But Showed error message like this. Anybody sloved the problem?
Defaulting to user installation because normal site-packages is not writeable
Collecting sleekxmpp
Using cached sleekxmpp-1.3.3.tar.gz (845 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/setup.py", line 19, in <module>
from sleekxmpp.version import __version__
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/__init__.py", line 20, in <module>
from sleekxmpp.stanza import Message, Presence, Iq
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/stanza/__init__.py", line 10, in <module>
from sleekxmpp.stanza.error import Error
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/stanza/error.py", line 9, in <module>
from sleekxmpp.xmlstream import ElementBase, ET
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/xmlstream/__init__.py", line 9, in <module>
from sleekxmpp.jid import JID
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/jid.py", line 25, in <module>
from sleekxmpp.thirdparty import OrderedDict
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/thirdparty/__init__.py", line 13, in <module>
from sleekxmpp.thirdparty.orderedset import OrderedSet
File "/tmp/pip-install-5jxrvhap/sleekxmpp_3f85babb325e4991bd55893bbaf9f0bf/sleekxmpp/thirdparty/orderedset.py", line 25, in <module>
class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.