Closed sharpe5 closed 3 years ago
I faced the same issue. I could not import show
because modules were missing for win32api and qtstylish.
I had to pip install pypiwin32
and pip install qtstylish
It was a long journey for me to get pandasGUI installed, probably because I'm on an older windows 8.1 machine.
To make a long story short, other requirements:
I am very impressed by this project, and surprised that this is so new. No alternative like it from what I can see.
Same here.
python -m pandasgui.gui
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "/tmp/venv/lib/python3.8/site-packages/pandasgui/__init__.py", line 15, in <module>
from pandasgui.gui import show
File "/tmp/venv/lib/python3.8/site-packages/pandasgui/gui.py", line 20, in <module>
import qtstylish
ModuleNotFoundError: No module named 'qtstylish'
fixed it by
pip install qtstylish
Better add to the requirements :)
Same here, installed with command: pip install pandasgui
, trying to execute gives error:
from pandasgui import show
from pandasgui.gui import show
from pandasgui.widgets.navigator import Navigator
import win32api
ERROR: Could not find a version that satisfies the requirement win32api (from versions: none)
ERROR: No matching distribution found for win32api
The above error was solved using the command: pip install pywin32
, then trying to execute gives another error:
from pandasgui.gui import show
import qtstylish
The above error was solved using the command: pip install qtstylish
Should be fixed in 0.2.13
PLEASE FILL OUT THE TEMPLATE
Describe the bug
As per subject.
I used this on 2021-07-08:
Under Miniconda + Python 3.8, I used this:
However, in my Python script, when I used
from pandasgui import show
, it could not import due to missingqtstylish
.The fix was:
Environment OS: Windows 10 Python: 3.8 (Miniconda) IDE: PyCharm
Package versions
TO GET ALL RELEVANT PACKAGE VERSIONS, RUN THIS COMMAND IN BASH AND PASTE THE OUTPUT pip freeze | grep -i "pyqt|pandasgui|plotly|ipython|jupyter|notebook"
EXAMPLE OUTPUT