Skip to content

issue installing secml-malware with pip with python 3.12 #48

@Andrea-Ponte

Description

@Andrea-Ponte

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Ponte\AppData\Local\Temp\pip-install-gkfs8wet\matplotlib_e822e290f1734ff89cd1031315ef9c0e\setup.py", line 53, in
version = versioneer.get_version()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ponte\AppData\Local\Temp\pip-install-gkfs8wet\matplotlib_e822e290f1734ff89cd1031315ef9c0e\versioneer.py", line 1410, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Ponte\AppData\Local\Temp\pip-install-gkfs8wet\matplotlib_e822e290f1734ff89cd1031315ef9c0e\versioneer.py", line 1344, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ponte\AppData\Local\Temp\pip-install-gkfs8wet\matplotlib_e822e290f1734ff89cd1031315ef9c0e\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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions