NEGU93 / cvnn

Library to help implement a complex-valued neural network (cvnn) using tensorflow as back-end
https://complex-valued-neural-networks.readthedocs.io/
MIT License
164 stars 34 forks source link

Errors, when installing cvnn with pip #54

Open AntonFritsche opened 2 months ago

AntonFritsche commented 2 months ago

Hi, I have a problem, when I try to install the library through pip. I have this problem on MacOS and Windows 11.

Error code: Collecting cvnn Using cached cvnn-2.0.tar.gz (59 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] /private/var/folders/nf/b4thxm9s0tnf3hg53kkr70dr0000gn/T/pip-install-no6kbh75/cvnn_1cc0a018ef4b43eaa81de36b9c65aa1d/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/private/var/folders/nf/b4thxm9s0tnf3hg53kkr70dr0000gn/T/pip-install-no6kbh75/cvnn_1cc0a018ef4b43eaa81de36b9c65aa1d/setup.py", line 15, in version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/nf/b4thxm9s0tnf3hg53kkr70dr0000gn/T/pip-install-no6kbh75/cvnn_1cc0a018ef4b43eaa81de36b9c65aa1d/versioneer.py", line 1483, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "/private/var/folders/nf/b4thxm9s0tnf3hg53kkr70dr0000gn/T/pip-install-no6kbh75/cvnn_1cc0a018ef4b43eaa81de36b9c65aa1d/versioneer.py", line 1415, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/nf/b4thxm9s0tnf3hg53kkr70dr0000gn/T/pip-install-no6kbh75/cvnn_1cc0a018ef4b43eaa81de36b9c65aa1d/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: 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.__