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

The pandasgui installation failed #239

Open
z-x-x136 opened this issue Sep 12, 2023 · 1 comment
Open

The pandasgui installation failed #239

z-x-x136 opened this issue Sep 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@z-x-x136
Copy link

win10 python3.9

C:\Users\Zeng xiang xi>pip install pandasgui
WARNING: Ignoring invalid distribution -rotobuf (d:\anaconda\anaconda\lib\site-packages)
Collecting pandasgui
Using cached pandasgui-0.2.14.tar.gz (218 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\setuptools_init_.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try pip install --use-pep517.
dist.fetch_build_eggs(dist.setup_requires)

          It is possible a package already installed in your system
          contains an version that is invalid according to PEP 440.
          You can try `pip install --use-pep517` as a workaround for this problem,
          or rely on a new virtual environment.

          If the problem refers to a package that is not installed yet,
          please contact that package's maintainers or distributors.


  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Zeng xiang xi\AppData\Local\Temp\pip-install-9130qpq_\pandasgui_7f792dbb9851449781f854fdaee56816\setup.py", line 6, in <module>
      setup(
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\setuptools\__init__.py", line 107, in setup
      _install_setup_requires(attrs)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\setuptools\__init__.py", line 80, in _install_setup_requires
      _fetch_build_eggs(dist)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\setuptools\__init__.py", line 85, in _fetch_build_eggs
      dist.fetch_build_eggs(dist.setup_requires)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\setuptools\dist.py", line 894, in fetch_build_eggs
      return _fetch_build_eggs(self, requires)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\setuptools\installer.py", line 39, in _fetch_build_eggs
      resolved_dists = pkg_resources.working_set.resolve(
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 815, in resolve
      dist = self._resolve_dist(
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 844, in _resolve_dist
      env = Environment(self.entries)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 1044, in __init__
      self.scan(search_path)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 1077, in scan
      self.add(dist)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 1096, in add
      dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 2640, in hashcmp
      self.parsed_version,
    File "C:\Users\Zeng xiang xi\AppData\Roaming\Python\Python39\site-packages\pkg_resources\__init__.py", line 2694, in parsed_version
      raise packaging.version.InvalidVersion(f"{str(ex)} {info}") from None
  pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '4.0.0-unsupported' (package: pyodbc)
  [end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

C:\Users\Zeng xiang xi>pip install --use-pep517
ERROR: You must give at least one requirement to install (see "pip help install")

@z-x-x136 z-x-x136 added the bug Something isn't working label Sep 12, 2023
@shyney7
Copy link

shyney7 commented Nov 29, 2023

Same here :

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.

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

I think its related to this python/cpython@ba4d79a
My python version: 3.12.0

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