升级到 ubuntu 20.04.1 后,我通过终端使用的日记应用程序无法工作

升级到 ubuntu 20.04.1 后,我通过终端使用的日记应用程序无法工作

我升级到了 Ubuntu 20.04.1,并且我正在使用的日记应用程序(https://jrnl.sh/installation/) 返回此错误:

Traceback (most recent call last):
  File "/usr/local/bin/jrnl", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3251, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'six>=1.10.0' distribution was not found and is required by jrnl

我尝试过强制重新安装它,但无济于事。我是 Ubuntu 新手,如果我遗漏了任何关键细节,请告诉我。

相关内容