adamerose / adamerose/PandasGUI

An error in simplest PandasGUI script

Aperta
#160 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
3.3k
Fork
239
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am trying to run the simplest pandasGUI example.

```
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)
```
But I get the following error.

Traceback (most recent call last):
File "C:\Users\Дмитрий\\.spyder-py3\temp.py", line 12, in
show(df)
File "C:\ProgramData\Miniconda3\lib\site-packages\pandasgui\gui.py", line 460, in show
pandas_gui = PandasGui(settings=settings, **kwargs)
File "C:\ProgramData\Miniconda3\lib\site-packages\pandasgui\gui.py", line 73, in __init__
self.init_ui()
File "C:\ProgramData\Miniconda3\lib\site-packages\pandasgui\gui.py", line 161, in init_ui
self.store.settings.settingsChanged.connect(self.apply_settings)
**RuntimeError: wrapped C/C++ object of type SettingsStore has been deleted**

**Environment**
Windows 10)
Python 3.9.4 64-bit | Qt 5.15.2 | PyQt5 5.15.4
IDE: Spyder 4.2.5 (other attempt - 5.0.5 - get the same mistake)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.