pip安装后缺少PySide DLL

时间:2017-06-14 12:11:16

标签: python pyqt pip anaconda pyside

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加载失败:无法找到指定的模块。”错误。

enter image description here

之前有人见过这个问题吗?

0 个答案:

没有答案