0
我是python的新手,剛剛試圖在Python中導入實時流模塊(http://livestreamer.readthedocs.org/en/latest/api.html)。無法在Python中導入livestreamer模塊
模塊安裝在:
/Library/Python/2.7/site-packages/livestreamer-1.8.0-py2.7.egg
我的劇本是相當多的一行:
from livestreamer import Livestreamer
錯誤:
ImportError: cannot import name Livestreamer
我搜索了類似問題的網站,但找不到與此模塊相關的任何內容,但顯然它是一個循環依賴導入...?我不知道如何解決這個問題。
注:我的腳本工程時,它只是:
import livestreamer
我想說的模塊不包含一個名爲Livestreamer類,但文檔是這麼說的。