Win 7,x64,Python 2.7,Anaconda,Spyder 3,Qt 5
我在Anaconda命令行使用pip
安装了PySide。然后我尝试使用以下代码在Spyder 3中使用它......
from PySide import QtGui, QtCore
reply = QtGui.QInputDialog.getText(None, "Ouija Central","Enter your thoughts for the day:")
if reply[1]:
# user clicked OK
replyText = reply[0]
else:
# user clicked Cancel
replyText = reply[0] # which will be "" if they clicked Cancel
..但我得到“DLL加载失败:无法找到指定的模块。”错误。
之前有人见过这个问题吗?