Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" #162

Open
lxbworld opened this issue Aug 4, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@lxbworld
Copy link

lxbworld commented Aug 4, 2021

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

@lxbworld lxbworld added the bug Something isn't working label Aug 4, 2021
@chadkennedyonline
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants