嗨,我正在尝试在我的mac上运行一个名为starrify的spotify脚本 https://github.com/swinton/starrify
我在运行它时遇到了这个错误
error "Traceback (most recent call last):
File \"/Users/hnewbs/Documents/star/starrify.py\", line 7, in <module>
from spotify import Link
ImportError: No module named spotify" number 1
有什么办法解决这个问题吗?谢谢
我按照以下说明重新安装pyspotify来修复它http://labs.tinkerista.com/?p=9
pyspotify
安装不正确(或者您运行的python解释器与安装它时使用的不同)。您可以使用pip install pyspotify
安装它。然后您应该能够在脚本中import spotify
,并使其成功。您也可以尝试先运行pyspotify
example script。在相关问题 更多 >
编程相关推荐