Ao tentar abrir o Wapiti, isto aparece:
Traceback (most recent call last):
File "/usr/bin/wapiti", line 33, in <module>
sys.exit(load_entry_point('wapiti3==3.0.4', 'console_scripts', 'wapiti')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/wapiti", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/wapitiCore/main/wapiti.py", line 41, in <module>
from wapitiCore.language.language import _
File "/usr/lib/python3/dist-packages/wapitiCore/language/language.py", line 62, in <module>
lan = gettext.translation(
^^^^^^^^^^^^^^^^^^^^
TypeError: translation() got an unexpected keyword argument 'codeset'
Ao tentar usar o comando "wapiti --version" para ver a versão, aparece a exata mesma coisa
ao tentar reinstalar com "pip install wapiti", isto aparece:
Defaulting to user installation because normal site-packages is not writeable
Collecting wapiti
Using cached wapiti-0.1.tar.gz (38 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 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-_0a9fuk_/wapiti_3a49f5eb8a1d4d1195830f69bb3fe30d/setup.py", line 28, in <module>
raise NotImplementedError("wapiti Python 3 support en route to your location")
NotImplementedError: wapiti Python 3 support en route to your location
[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.
Defaulting to user installation because normal site-packages is not writeable
Collecting wapiti
Using cached wapiti-0.1.tar.gz (38 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 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-_0a9fuk_/wapiti_3a49f5eb8a1d4d1195830f69bb3fe30d/setup.py", line 28, in <module>
raise NotImplementedError("wapiti Python 3 support en route to your location")
NotImplementedError: wapiti Python 3 support en route to your location
[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.
Eu não sei como prosseguir