Skip to content

Cannot install with Python 3.13 #33

@Beliavsky

Description

@Beliavsky

pip install -r requirements.txt gave

Collecting certifi==2020.6.20 (from -r requirements.txt (line 1))
  Downloading certifi-2020.6.20-py2.py3-none-any.whl.metadata (2.9 kB)
Collecting chardet==3.0.4 (from -r requirements.txt (line 2))
  Downloading chardet-3.0.4-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting cycler==0.10.0 (from -r requirements.txt (line 3))
  Downloading cycler-0.10.0-py2.py3-none-any.whl.metadata (722 bytes)
Collecting idna==2.10 (from -r requirements.txt (line 4))
  Downloading idna-2.10-py2.py3-none-any.whl.metadata (9.1 kB)
Collecting joblib==0.16.0 (from -r requirements.txt (line 5))
  Downloading joblib-0.16.0-py3-none-any.whl.metadata (4.5 kB)
Collecting kiwisolver==1.2.0 (from -r requirements.txt (line 6))
  Downloading kiwisolver-1.2.0.tar.gz (52 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting matplotlib==3.3.1 (from -r requirements.txt (line 7))
  Downloading matplotlib-3.3.1.tar.gz (38.8 MB)
     --------------------------------------- 38.8/38.8 MB 18.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  Getting requirements to build wheel did not run successfully.
  exit code: 1
  
  [42 lines of output]
  <string>:32: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
  !!
  
          ********************************************************************************
          Please remove any references to `setuptools.command.test` in all supported versions of the affected package.
  
          This deprecation is overdue, please update your project and remove deprecated
          calls to avoid build errors in the future.
          ********************************************************************************
  
  !!
  Traceback (most recent call last):
    File "C:\Programs\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
      ~~~~^^
    File "C:\Programs\Python313\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:\Programs\Python313\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\myname\AppData\Local\Temp\pip-build-env-9if0io22\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\myname\AppData\Local\Temp\pip-build-env-9if0io22\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
      self.run_setup()
      ~~~~~~~~~~~~~~^^
    File "C:\Users\myname\AppData\Local\Temp\pip-build-env-9if0io22\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
      super().run_setup(setup_script=setup_script)
      ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\myname\AppData\Local\Temp\pip-build-env-9if0io22\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
      exec(code, locals())
      ~~~~^^^^^^^^^^^^^^^^
    File "<string>", line 52, in <module>
    File "C:\Users\myname\AppData\Local\Temp\pip-install-mkcavhhn\matplotlib_2652fcb170c84c8faafd23e7a960839c\versioneer.py", line 1410, in get_version
      return get_versions()["version"]
             ~~~~~~~~~~~~^^
    File "C:\Users\myname\AppData\Local\Temp\pip-install-mkcavhhn\matplotlib_2652fcb170c84c8faafd23e7a960839c\versioneer.py", line 1344, in get_versions
      cfg = get_config_from_root(root)
    File "C:\Users\myname\AppData\Local\Temp\pip-install-mkcavhhn\matplotlib_2652fcb170c84c8faafd23e7a960839c\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: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions