PandasGUI icon indicating copy to clipboard operation
PandasGUI copied to clipboard

Kernel crash on Jupyter Notebook

Open pynomaly opened this issue 3 years ago • 7 comments

Describe the bug

When I try to run the example code on a Jupyter Notebook:

import pandas as pd
from pandasgui import show
df = pd.DataFrame(([[1, 2, 3], [4, 5, 6], [7, 8, 9]]), columns=['a', 'b', 'c'])
show(df)

I get The kernel appears to have died. It will restart automatically.

Environment OS: Ubuntu 18.04 Python: 3.7.4 IDE: Jupyter Notebook

Package versions

django-plotly-dash==1.0.1
ipython==7.7.0
ipython-genutils==0.2.0
jupyter==1.0.0
jupyter-client==5.3.4
jupyter-console==6.0.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
jupyter-core==4.6.1
jupyter-highlight-selected-word==0.2.0
jupyter-latex-envs==1.4.6
jupyter-nbextensions-configurator==0.4.1
jupyter-plotly-dash==0.2.1
jupyterlab==1.1.4
jupyterlab-server==1.0.6
notebook==6.0.0
pandasgui==0.2.10.1
plotly==4.14.3
PyQt5==5.15.4
PyQt5-Qt5==5.15.2
PyQt5-sip==12.8.1
PyQtWebEngine==5.15.4
PyQtWebEngine-Qt5==5.15.2

pynomaly avatar Mar 27 '21 17:03 pynomaly

Hi I got the same issue I am using Debian 10 with: jupyter-client 6.1.12 jupyter-core 4.7.1 jupyter-packaging 0.7.12 jupyter-server 1.5.1 jupyterlab 3.0.12 jupyterlab-pygments 0.1.2 jupyterlab-server 2.4.0 jupyterlab-widgets 1.0.0

PyQt5 5.15.4 PyQt5-Qt5 5.15.2 PyQt5-sip 12.8.1 PyQtWebEngine 5.15.4 PyQtWebEngine-Qt5 5.15.2

pandasgui 0.2.10.1

MichaelSchroter avatar Apr 08 '21 04:04 MichaelSchroter

Hi, this package is awesome, but I got the same issue when I jumped into Pop-OS 21.04 recently with pandasgui 0.2.13. I used to get this package worked in other distributions like Debian 11 and Fedora 34, but I need to change to this distro because of hardware support.

I've tried to update all requirement package and still didn't work. I also tried to downgrade the package one by one and got the same result with pip and conda.

OS : Pop OS 21.04 Python : 3.9.5

package version: conda 4.10.3 jupyter core 4.7.1 jupyter-notebook 6.4.3 qtconsole 5.1.1 ipython 7.26.0 ipykernel 6.2.0 jupyter client 7.0.1 jupyter lab 3.1.11 nbconvert 6.1.0 ipywidgets 7.6.4 nbformat 5.1.3 traitlets 5.0.5

pandas 1.3.0 PyQt5 5.15.4 PyQt5-Qt5 5.15.2 PyQt5-sip 12.9.0 PyQtWebEngine 5.15.4 PyQtWebEngine-Qt5 5.15.2 plotly 5.1.0 wordcloud 1.8.1 setuptools 52.0.0.post20210125 appdirs 1.4.4 pynput 1.7.3 pyarrow 5.0.0 yping-extensions 3.10.0.2 qtstylish 0.1.4 astor 0.8.1

pandasgui 0.2.13

m-fariz-a avatar Sep 12 '21 07:09 m-fariz-a

Hi,

I think Debian is good. If you have hardware issues especially with network card drivers like iwm they could be downloaded from websites. Only need is a Google search. Or post on Reddit. You should be able to get a solution.

Thanks & Regards

Schroter

On Sun., 12 Sep. 2021, 5:31 pm M Fariz Al Asyir, @.***> wrote:

Hi, this package is awesome, but I got the same issue when I jumped into Pop-OS 21.04 recently with pandasgui 0.2.13. I used to get this package worked in other distributions like Debian 11 and Fedora 34, but I need to change to this distro because of hardware support.

I've tried to update all requirement package and still didn't work. I also tried to downgrade the package one by one and got the same result with pip and conda.

OS : Pop OS 21.04 Python : 3.9.5

package version: conda 4.10.3 jupyter core 4.7.1 jupyter-notebook 6.4.3 qtconsole 5.1.1 ipython 7.26.0 ipykernel 6.2.0 jupyter client 7.0.1 jupyter lab 3.1.11 nbconvert 6.1.0 ipywidgets 7.6.4 nbformat 5.1.3 traitlets 5.0.5

pandas 1.3.0 PyQt5 5.15.4 PyQt5-Qt5 5.15.2 PyQt5-sip 12.9.0 PyQtWebEngine 5.15.4 PyQtWebEngine-Qt5 5.15.2 plotly 5.1.0 wordcloud 1.8.1 setuptools 52.0.0.post20210125 appdirs 1.4.4 pynput 1.7.3 pyarrow 5.0.0 yping-extensions 3.10.0.2 qtstylish 0.1.4 astor 0.8.1

pandasgui 0.2.13

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adamerose/PandasGUI/issues/127#issuecomment-917575802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRQBVXYV4KHW3HVAW4PFM3UBRJLVANCNFSM4Z5EAFIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MichaelSchroter avatar Sep 12 '21 13:09 MichaelSchroter

Thanks for your help. Recently, I tried to solve the problem and it worked well. The problem happened when I installed the library I needed in user local directory. So, installing all the packages using conda within a specific environment to avoid conflicting between packages if any. Although the pandasgui in conda-forge version is 0.2.9, but it works well.

P.S : I solved this Pop OS issue within a virtual machine.

Thanks,

Fariz

Hi, I think Debian is good. If you have hardware issues especially with network card drivers like iwm they could be downloaded from websites. Only need is a Google search. Or post on Reddit. You should be able to get a solution. Thanks & Regards Schroter On Sun., 12 Sep. 2021, 5:31 pm M Fariz Al Asyir, @.***> wrote: Hi, this package is awesome, but I got the same issue when I jumped into Pop-OS 21.04 recently with pandasgui 0.2.13. I used to get this package worked in other distributions like Debian 11 and Fedora 34, but I need to change to this distro because of hardware support. I've tried to update all requirement package and still didn't work. I also tried to downgrade the package one by one and got the same result with pip and conda. OS : Pop OS 21.04 Python : 3.9.5 package version: conda 4.10.3 jupyter core 4.7.1 jupyter-notebook 6.4.3 qtconsole 5.1.1 ipython 7.26.0 ipykernel 6.2.0 jupyter client 7.0.1 jupyter lab 3.1.11 nbconvert 6.1.0 ipywidgets 7.6.4 nbformat 5.1.3 traitlets 5.0.5 pandas 1.3.0 PyQt5 5.15.4 PyQt5-Qt5 5.15.2 PyQt5-sip 12.9.0 PyQtWebEngine 5.15.4 PyQtWebEngine-Qt5 5.15.2 plotly 5.1.0 wordcloud 1.8.1 setuptools 52.0.0.post20210125 appdirs 1.4.4 pynput 1.7.3 pyarrow 5.0.0 yping-extensions 3.10.0.2 qtstylish 0.1.4 astor 0.8.1 pandasgui 0.2.13 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#127 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRQBVXYV4KHW3HVAW4PFM3UBRJLVANCNFSM4Z5EAFIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

m-fariz-a avatar Sep 19 '21 23:09 m-fariz-a

Hi Fariz,

I used venv. It works as well without the heaviness of conda.

Let me know if you need anything.

Thanks & Best Regards

Schroter

On Mon., 20 Sep. 2021, 9:32 am M Fariz Al Asyir, @.***> wrote:

Thanks for your help. Recently, I tried to solve the problem and it worked well. The problem happened when I installed the library I needed in user local directory. So, installing all the packages using conda within a specific environment to avoid conflicting between packages if any. Although the pandasgui in conda-forge version is 0.2.9, but it works well.

P.S : I solved this Pop OS issue within a virtual machine.

Thanks,

Fariz

Hi,

I think Debian is good. If you have hardware issues especially with network card drivers like iwm they could be downloaded from websites. Only need is a Google search. Or post on Reddit. You should be able to get a solution.

Thanks & Regards

Schroter

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adamerose/PandasGUI/issues/127#issuecomment-922555844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRQBVWXQQKXOBJYPUM62PLUCZXIXANCNFSM4Z5EAFIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MichaelSchroter avatar Sep 20 '21 07:09 MichaelSchroter

using pip install with PandasGui had many header errors - gave up. I tried using Conda which installed fine but cannot import or use it. I'm running Jupyter Lab and it doesn't appear this is supported yet.

image

limowreck00 avatar Jun 08 '22 14:06 limowreck00

Hi Fariz, I used venv. It works as well without the heaviness of conda. Let me know if you need anything. Thanks & Best Regards Schroter On Mon., 20 Sep. 2021, 9:32 am M Fariz Al Asyir, @.***> wrote: Thanks for your help. Recently, I tried to solve the problem and it worked well. The problem happened when I installed the library I needed in user local directory. So, installing all the packages using conda within a specific environment to avoid conflicting between packages if any. Although the pandasgui in conda-forge version is 0.2.9, but it works well. P.S : I solved this Pop OS issue within a virtual machine. Thanks, Fariz Hi, I think Debian is good. If you have hardware issues especially with network card drivers like iwm they could be downloaded from websites. Only need is a Google search. Or post on Reddit. You should be able to get a solution. Thanks & Regards Schroter — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#127 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRQBVWXQQKXOBJYPUM62PLUCZXIXANCNFSM4Z5EAFIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hey, I am getting this error while importing pandasgui in jupyterlab. Please have a look and help.

image

[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control [IPKernelApp] WARNING | No such comm: 53f5577b-729a-4e81-b824-0f11c88ca374

NitinBhasneria01 avatar Jul 31 '22 10:07 NitinBhasneria01