我无法使用mac osx Yosemite和python 2.7进行操作。我安装了gstreamer并安装了所有需要的modipy但是当我尝试运行modipy时,我在终端中得到了这个Traceback:
(oldpy) Connors-MacBook-Pro:~ connor$ mopidy
Traceback (most recent call last):
File "/Users/connor/anaconda3/envs/oldpy/bin/mopidy", line 7, in <module>
from mopidy.__main__ import main
File "/Users/connor/anaconda3/envs/oldpy/lib/python2.7/site-packages/mopidy/__main__.py", line 8, in <module>
from mopidy.internal.gi import Gst # noqa: F401
File "/Users/connor/anaconda3/envs/oldpy/lib/python2.7/site-packages/mopidy/internal/gi.py", line 9, in <module>
gi.require_version('Gst', '1.0')
AttributeError: 'module' object has no attribute 'require_version'
(oldpy) Connors-MacBook-Pro:~ connor$
这是我尝试使用homebrew安装modipy时遇到的自制错误:
(oldpy) Connors-MacBook-Pro:~ connor$ brew install mopidy
==> Installing mopidy from mopidy/mopidy
==> Downloading https://files.pythonhosted.org/packages/60/76/427ad1fbe879034e34
Already downloaded: /Users/connorwoodford/Library/Caches/Homebrew/mopidy-2.1.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
Warning: Calling <<-EOS.undent is deprecated!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/mopidy/homebrew-mopidy/mopidy.rb:72:in `plist'
Please report this to the mopidy/mopidy tap!