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

Installation of matplotlib==3.3 fails #486

Open
celprov opened this issue Aug 19, 2024 · 0 comments
Open

Installation of matplotlib==3.3 fails #486

celprov opened this issue Aug 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@celprov
Copy link
Collaborator

celprov commented Aug 19, 2024

There is a bug in installing the requirements of hcph-sops using pip install -r requirements.txt

  Cloning https://github.com/dimrozakis/mkpdfs-mkdocs-plugin.git (to revision master) to /private/var/folders/8k/n35g787n5nq7x7mftl9bxlb80000gn/T/pip-req-build-uiobo9j9
  Running command git clone --filter=blob:none --quiet https://github.com/dimrozakis/mkpdfs-mkdocs-plugin.git /private/var/folders/8k/n35g787n5nq7x7mftl9bxlb80000gn/T/pip-req-build-uiobo9j9
  Resolved https://github.com/dimrozakis/mkpdfs-mkdocs-plugin.git to commit d765be71e7a854f53f481b43f9d5a5527771179d
  Preparing metadata (setup.py) ... done
Requirement already satisfied: codespell in /Users/cprovins/miniconda3/lib/python3.12/site-packages (from -r requirements.txt (line 1)) (2.3.0)
Collecting markdown-include (from -r requirements.txt (line 2))
  Downloading markdown_include-0.8.1-py3-none-any.whl.metadata (6.9 kB)
Requirement already satisfied: mkdocs in /Users/cprovins/miniconda3/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (1.6.0)
Collecting mkdocs-jupyter~=0.24.7 (from -r requirements.txt (line 4))
  Downloading mkdocs_jupyter-0.24.8-py3-none-any.whl.metadata (9.4 kB)
Collecting mkdocs-macros-plugin (from -r requirements.txt (line 5))
  Downloading mkdocs_macros_plugin-1.0.5-py3-none-any.whl.metadata (7.4 kB)
Collecting mkdocs-material>=9.4 (from -r requirements.txt (line 6))
  Downloading mkdocs_material-9.5.31-py3-none-any.whl.metadata (17 kB)
Collecting git-changelog (from -r requirements.txt (line 7))
  Downloading git_changelog-2.5.2-py3-none-any.whl.metadata (5.4 kB)
Requirement already satisfied: pygments in /Users/cprovins/miniconda3/lib/python3.12/site-packages (from -r requirements.txt (line 9)) (2.18.0)
Collecting weasyprint<53 (from -r requirements.txt (line 10))
  Downloading WeasyPrint-52.5-py3-none-any.whl.metadata (3.5 kB)
Collecting matplotlib==3.3 (from -r requirements.txt (line 11))
  Downloading matplotlib-3.3.0.tar.gz (38.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.8/38.8 MB 65.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/8k/n35g787n5nq7x7mftl9bxlb80000gn/T/pip-install-7_8knn3m/matplotlib_502afc22f8e44a83a24a9d0f819e023e/setup.py", line 52, in <module>
          __version__ = versioneer.get_version()
                        ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/8k/n35g787n5nq7x7mftl9bxlb80000gn/T/pip-install-7_8knn3m/matplotlib_502afc22f8e44a83a24a9d0f819e023e/versioneer.py", line 1410, in get_version
          return get_versions()["version"]
                 ^^^^^^^^^^^^^^
        File "/private/var/folders/8k/n35g787n5nq7x7mftl9bxlb80000gn/T/pip-install-7_8knn3m/matplotlib_502afc22f8e44a83a24a9d0f819e023e/versioneer.py", line 1344, in get_versions
          cfg = get_config_from_root(root)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/8k/n35g787n5nq7x7mftl9bxlb80000gn/T/pip-install-7_8knn3m/matplotlib_502afc22f8e44a83a24a9d0f819e023e/versioneer.py", line 401, 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: 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.
@celprov celprov added the bug Something isn't working label Aug 19, 2024
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

1 participant