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

An error in simplest PandasGUI script #160

Open
dmsh1956 opened this issue Jul 21, 2021 · 1 comment
Open

An error in simplest PandasGUI script #160

dmsh1956 opened this issue Jul 21, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@dmsh1956
Copy link

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)

@dmsh1956 dmsh1956 added the bug Something isn't working label Jul 21, 2021
@chadkennedyonline
Copy link

Duplicate of #166

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