PandasGUI
PandasGUI copied to clipboard
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
I meet a problem described below when I run it on my macbook air m1.
Code
import pandas as pd
from pandasgui import show
df = pd.DataFrame({'a':[1,2,3], 'b':[4,5,6], 'c':[7,8,9]})
show(df)
Error Traceback
PandasGUI INFO — pandasgui.gui — Opening PandasGUI...
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Environment OS: Mac OS 11.4 Python: 3.8 IDE: PyCharm
Package versions
ipython==7.25.0
ipython-genutils==0.2.0
jupyter==1.0.0
jupyter-client==6.1.12
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyter-server==1.10.1
jupyterlab==3.0.16
jupyterlab-pygments==0.1.2
jupyterlab-server==2.6.1
jupyterlab-widgets==1.0.0
notebook==6.4.0
pandasgui==0.2.12
plotly==5.1.0
PyQt5==5.15.4
PyQt5-Qt5==5.15.2
PyQt5-sip==12.9.0
PyQtWebEngine==5.15.4
PyQtWebEngine-Qt5==5.15.2
Please try pip installing either opencv-python-headless or opencv-python. Per these links:
https://stackoverflow.com/a/60276314/3841261
https://stackoverflow.com/a/60285850/3841261
If that works, that dependency can be added to this project, exclusively for Macs.