pyfolio icon indicating copy to clipboard operation
pyfolio copied to clipboard

Build problem

Open LinuxpowerLudo opened this issue 2 years ago • 0 comments

Hello,

I have a problem to build package.

Windows 11 with python3.12

Python 3.12 isn't supported ?

C:\Users\linux>python -m pip install git+https://github.com/quantopian/pyfolio Collecting git+https://github.com/quantopian/pyfolio Cloning https://github.com/quantopian/pyfolio to c:\users\linux\appdata\local\temp\pip-req-build-obfr4nzb Running command git clone --filter=blob:none --quiet https://github.com/quantopian/pyfolio 'C:\Users\linux\AppData\Local\Temp\pip-req-build-obfr4nzb' Resolved https://github.com/quantopian/pyfolio to commit 4b901f6d73aa02ceb6d04b7d83502e5c6f2e81aa 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] C:\Users\linux\AppData\Local\Temp\pip-req-build-obfr4nzb\versioneer.py:468: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\linux\AppData\Local\Temp\pip-req-build-obfr4nzb\setup.py", line 67, in version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\linux\AppData\Local\Temp\pip-req-build-obfr4nzb\versioneer.py", line 1407, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "C:\Users\linux\AppData\Local\Temp\pip-req-build-obfr4nzb\versioneer.py", line 1341, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\linux\AppData\Local\Temp\pip-req-build-obfr4nzb\versioneer.py", line 399, 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.

LinuxpowerLudo avatar Jan 04 '24 09:01 LinuxpowerLudo