Skip to content

pip install pandasgui fails for py 3.12 #245

@D1dymu2

Description

@D1dymu2

Describe the bug pip install pandasgui installs as expected in virtualenv's, 3.8, 3.10, 3.11 yet fails in 3.12

Environment
OS: Windows 10
Python: 3.8, 3.9, 3.10, 3.11, 3.12 (all virtual environments)
IDE: Spyder v5.5.0

Error reported
$ pip install pandasgui
Collecting pandasgui
Using cached pandasgui-0.2.14.tar.gz (218 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pandas in c:.venvs\venv312\lib\site-packages (from pandasgui) (2.1.3)
Requirement already satisfied: numpy in c:.venvs\venv312\lib\site-packages (from pandasgui) (1.26.2)
Requirement already satisfied: PyQt5 in c:.venvs\venv312\lib\site-packages (from pandasgui) (5.15.10)
Requirement already satisfied: PyQt5-sip in c:.venvs\venv312\lib\site-packages (from pandasgui) (12.13.0)
Requirement already satisfied: PyQtWebEngine in c:.venvs\venv312\lib\site-packages (from pandasgui) (5.15.6)
Collecting plotly (from pandasgui)
Using cached plotly-5.18.0-py3-none-any.whl.metadata (7.0 kB)
Collecting wordcloud (from pandasgui)
Using cached wordcloud-1.9.2.tar.gz (222 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
Traceback (most recent call last):
File "C:.venvs\venv312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:.venvs\venv312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:.venvs\venv312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomgi\AppData\Local\Temp\pip-build-env-3mu6h9uc\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomgi\AppData\Local\Temp\pip-build-env-3mu6h9uc\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\tomgi\AppData\Local\Temp\pip-build-env-3mu6h9uc\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\tomgi\AppData\Local\Temp\pip-build-env-3mu6h9uc\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 13, in
File "C:\Users\tomgi\AppData\Local\Temp\pip-install-vbhxpfq3\wordcloud_cb74a7f3eed749b88afabd643be579aa\versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\tomgi\AppData\Local\Temp\pip-install-vbhxpfq3\wordcloud_cb74a7f3eed749b88afabd643be579aa\versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomgi\AppData\Local\Temp\pip-install-vbhxpfq3\wordcloud_cb74a7f3eed749b88afabd643be579aa\versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

Let me know if you need more information, please,
Tommy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions