You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixespandas-dev#14372
A Qt application cannot instantiate multiple `QApplication` instances,
so we create a new `QApplication` only when the global
`QApplication.instance()` is None.
Failing sample:
```
from PyQt4.QtGui import QApplication
myapp = QApplication([])
from pandas.util.clipboard import clipboard_get # <--- ERROR
File "prefix/lib/python2.7/site-packages/pandas/util/clipboard.py", line 164, in <module>
app = qt4.QtGui.QApplication([])
RuntimeError: A QApplication instance already exists.
```
0 commit comments