Tor 浏览器无法在 Ubuntu 18.10 上运行

Tor 浏览器无法在 Ubuntu 18.10 上运行

当我torbrowser-launcher从存储库运行安装时,出现以下错误:

$ torbrowser-launcher 
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 29, in <module>
    import torbrowser_launcher
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/__init__.py", line 33, in <module>
    from .common import Common, SHARE
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/common.py", line 55, in <module>
    from twisted.internet import gtk2reactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/gtk2reactor.py", line 23, in <module>
    from twisted.internet import _glibbase
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 20, in <module>
    from twisted.internet import base, posixbase, selectreactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 26, in <module>
    from twisted.internet import fdesc, main, error, abstract, defer, threads
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1366, in <module>
    @attr.s
AttributeError: 'module' object has no attribute 's'

即使我attrs通过安装sudo pip install attrs

答案1

您可以从官方网站下载并安装Tor,解压后运行程序。
链接:https://www.torproject.org/download/download

相关内容