Skip to content

Cannot install pyHRV on Ubuntu 22.04 #40

@snowuyl

Description

@snowuyl

pip install pyhrv
Defaulting to user installation because normal site-packages is not writeable
Collecting pyhrv
Using cached pyhrv-0.4.1-py3-none-any.whl (3.2 MB)
Collecting biosppy (from pyhrv)
Using cached biosppy-1.0.0-py2.py3-none-any.whl (106 kB)
Requirement already satisfied: matplotlib in /home/andyueng/.local/lib/python3.10/site-packages (from pyhrv) (3.7.1)
Requirement already satisfied: numpy in /home/andyueng/.local/lib/python3.10/site-packages (from pyhrv) (1.24.4)
Requirement already satisfied: scipy in /home/andyueng/.local/lib/python3.10/site-packages (from pyhrv) (1.11.1)
Collecting nolds (from pyhrv)
Using cached nolds-0.5.2-py2.py3-none-any.whl (39 kB)
Collecting spectrum (from pyhrv)
Using cached spectrum-0.8.1.tar.gz (230 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "/home/andyueng/.local/lib/python3.10/site-packages/setuptools/init.py", line 20, in
from setuptools.dist import Distribution, Feature
File "/home/andyueng/.local/lib/python3.10/site-packages/setuptools/dist.py", line 35, in
from setuptools.depends import Require
File "/home/andyueng/.local/lib/python3.10/site-packages/setuptools/depends.py", line 7, in
from .py33compat import Bytecode
File "/home/andyueng/.local/lib/python3.10/site-packages/setuptools/py33compat.py", line 55, in
unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape)
AttributeError: 'HTMLParser' object has no attribute 'unescape'
[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.

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