Retext running error

Hi,
I’m installed Retext pkg for Markdown editing. It installed smoothly but when I try to run following exception occurs;

retext
Traceback (most recent call last):
  File "/usr/local/bin/retext", line 33, in <module>
    sys.exit(load_entry_point('ReText==7.2.1', 'gui_scripts', 'retext')())
  File "/usr/local/bin/retext", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.8/site-packages/ReText/__main__.py", line 35, in <module>
    from PyQt5.QtDBus import QDBusConnection, QDBusInterface
ModuleNotFoundError: No module named 'PyQt5.QtDBus'

Thanks for your advice.

There’s probably a mismatch between the default python version (3.8) and the py37-qt5-* packages. Try to upgrade your packages. Consult the errata for solutions to the problems that might occur.

Although I already did those steps, I did it again.
It didn’t work. Same error occurs.

~> retext
Traceback (most recent call last):
File “/usr/local/bin/retext”, line 33, in
sys.exit(load_entry_point(‘ReText==7.2.1’, ‘gui_scripts’, ‘retext’)())
File “/usr/local/bin/retext”, line 25, in importlib_load_entry_point
return next(matches).load()
File “/usr/local/lib/python3.8/importlib/metadata.py”, line 77, in load
module = import_module(match.group(‘module’))
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 843, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/local/lib/python3.8/site-packages/ReText/main.py”, line 35, in
from PyQt5.QtDBus import QDBusConnection, QDBusInterface
ModuleNotFoundError: No module named ‘PyQt5.QtDBus’

Synchronizing databases...

Updating FreeBSD repository catalogue...
Fetching meta.conf
Fetching packagesite.pkg
Processing entries...
FreeBSD repository update completed. 31153 packages processed.
All repositories are up to date.

Command finished OK!

All packages are up to date.

retext depends on py38-qt5-dbus, but it is not listed as a dependency. Installing the package py38-qt5-dbus fixes the problem.

EDIT

The dependency for py38-markdown-math is also missing. Without it, previews don’t work.

Thanks, those solve the problem.