我正在尝试将 spynner 导入我的 python 程序(import spynner)......当我运行脚本时,我收到以下错误消息:
Traceback (most recent call last):
File "C:\Users\Michael\Desktop\webscraper.py", line 2, in <module>
import spynner
File "build\bdist.win32\egg\spynner\__init__.py", line 2, in <module>
File "build\bdist.win32\egg\spynner\browser.py", line 52, in <module>
ImportError: No module named PyQt4
然后我尝试安装这个名为 PyQt4 (pip install PyQt4) 的模块,导致以下错误消息:
Could not find any downloads that satisfy the requirement Pyqt4
如何解决这个问题?