Issue
this is a project by my colleague with dimission, some error occured when debugging:
File "D:\Program Files (x86)\Python2.7\lib\site-packages\matplotlib\backends\backend_qt5.py", line 591, in _icon pm.setDevicePixelRatio(self.canvas._dpi_ratio) AttributeError: 'PySide.QtGui.QPixmap' object has no attribute 'setDevicePixelRatio'
Environment: PyCharm 2017 + Python 2.7.13 Packages:
how can i solve it?
Solution
At last I solved this problem by installing python-qt5, sorry for closing the question so late.
Answered By - Jun.Tao
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.