You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/adam/.venv/pandasgui/lib/python3.11/site-packages/pandasgui/__init__.py", line 15, in <module>
from pandasgui.gui import show
File "/home/adam/.venv/pandasgui/lib/python3.11/site-packages/pandasgui/gui.py", line 13, in <module>
from pandasgui.constants import PANDASGUI_ICON_PATH
File "/home/adam/.venv/pandasgui/lib/python3.11/site-packages/pandasgui/constants.py", line 15, in <module>
SHORTCUT_PATH = os.path.join(os.getenv('APPDATA'), 'Microsoft/Windows/Start Menu/Programs/PandasGUI.lnk', )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen posixpath>", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType
This works, however:
APPDATA="" python -c "import pandasgui"
The APPDATA environment variable is not one that is commonly set by default on Linux, which makes it awkward to import this package unless you know that it expects the variable to exist in the environment.
Describe the bug
On linux:
Output:
This works, however:
The
APPDATA
environment variable is not one that is commonly set by default on Linux, which makes it awkward to import this package unless you know that it expects the variable to exist in the environment.Environment
OS:
6.1.85-1-MANJARO GNU/Linux
Python: 3.11.8
Package versions
The text was updated successfully, but these errors were encountered: