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

error with installation #719

Open
JHK212 opened this issue Feb 26, 2025 · 0 comments
Open

error with installation #719

JHK212 opened this issue Feb 26, 2025 · 0 comments

Comments

@JHK212
Copy link

JHK212 commented Feb 26, 2025

Hello! When trying to install the library, the next error appears:

(base) jkatz@VIVO:/mnt/c/Bioinfo$ pip install pyfolio
Collecting pyfolio
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)'))': /packages/28/b4/99799b743c4619752f88b70354924132a2e9b82f4656fe7c55eaa9101392/pyfolio-0.9.2.tar.gz
Downloading pyfolio-0.9.2.tar.gz (91 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]
/tmp/pip-install-pdgnpets/pyfolio_24babc165c59403f8a8ba96d28e16ed4/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 "/tmp/pip-install-pdgnpets/pyfolio_24babc165c59403f8a8ba96d28e16ed4/setup.py", line 71, in
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-pdgnpets/pyfolio_24babc165c59403f8a8ba96d28e16ed4/versioneer.py", line 1407, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/tmp/pip-install-pdgnpets/pyfolio_24babc165c59403f8a8ba96d28e16ed4/versioneer.py", line 1341, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-pdgnpets/pyfolio_24babc165c59403f8a8ba96d28e16ed4/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.

I was not able to solve it by reinstalling it, using an older version or modifying the versioneer.py (suggested by chatgpt)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant