Topic: [solved] rednotebook bug: will not start
hyperbola version: stable
problem: installed rednotebook for the first time, it fails to start when called from GUI, and on the terminal shows this error:
$ rednotebook
Adding /usr/lib/python3.8/site-packages to sys.path
2023-02-26 11:03:54,222 INFO Writing log to file "/home/auanta/.rednotebook/rednotebook.log"
2023-02-26 11:03:54,222 INFO System encoding: utf-8
2023-02-26 11:03:54,223 INFO Language code: en_US
Traceback (most recent call last):
File "/usr/bin/rednotebook", line 6, in <module>
import journal
ModuleNotFoundError: No module named 'journal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/rednotebook", line 12, in <module>
import rednotebook.journal
File "/usr/lib/python3.8/site-packages/rednotebook/journal.py", line 169, in <module>
from rednotebook.gui.main_window import MainWindow
File "/usr/lib/python3.8/site-packages/rednotebook/gui/main_window.py", line 23, in <module>
from unittest import mock
File "/usr/lib/python3.8/unittest/__init__.py", line 60, in <module>
from .async_case import IsolatedAsyncioTestCase
File "/usr/lib/python3.8/unittest/async_case.py", line 1, in <module>
import asyncio
File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>
from .base_events import *
File "/usr/lib/python3.8/asyncio/base_events.py", line 45, in <module>
from . import staggered
File "/usr/lib/python3.8/asyncio/staggered.py", line 6, in <module>
import typing
File "/usr/lib/python3.8/site-packages/typing.py", line 1359, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/lib/python3.8/site-packages/typing.py", line 1007, in __new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'