尝试在Python中导入VLC时出错

时间:2015-03-09 22:41:03

标签: python vlc

跑完后:

pip install vlc

我运行了一个包含以下内容的python文件:

from vlc import vlc
vlc.activate()
print vlc.active

输出结果为:

Traceback (most recent call last):
  File "server.py", line 1, in <module>
    from vlc import vlc
  File "/Library/Python/2.7/site-packages/vlc/__init__.py", line 2, in <module>
    from cls.application import application
  File "/Library/Python/2.7/site-packages/vlc/cls/application.py", line 5, in <module>
    class application(application):
TypeError: Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given)

0 个答案:

没有答案