Mopidy安装错误

时间:2018-03-12 10:34:01

标签: python django python-3.x python-2.7 mopidy

按照网站上的说明,通过全新安装的Brew在Mac High Sierra上安装。它抛出了这个错误;

Traceback (most recent call last):
  File "/usr/local/bin/mopidy", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3081, in _call_aside
    f(*args, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 959, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Mopidy==2.1.0' distribution was not found and is required by the application

显然,即使它位于我所有其他软件包的默认位置,也找不到发行版。知道为什么吗?

1 个答案:

答案 0 :(得分:0)

你做完了吗

brew tap mopidy/mopidy
跑步前

brew install mopidy

...

按照这些步骤,我设法成功安装它。 我在OS X 10.13.3