diff --git a/ereuse_devicehub/parser/computer.py b/ereuse_devicehub/parser/computer.py index ceb41141..75f0c74c 100644 --- a/ereuse_devicehub/parser/computer.py +++ b/ereuse_devicehub/parser/computer.py @@ -3,7 +3,6 @@ import re from contextlib import suppress from datetime import datetime from fractions import Fraction -from math import hypot from typing import Iterator, List, Optional, Type, TypeVar import dateutil.parser @@ -13,6 +12,7 @@ from ereuse_utils.nested_lookup import ( get_nested_dicts_with_key_containing_value, get_nested_dicts_with_key_value, ) +from numpy import hypot from ereuse_devicehub.parser import base2, unit, utils from ereuse_devicehub.parser.utils import Dumpeable diff --git a/requirements.txt b/requirements.txt index 341820b3..7bf94f9b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -45,3 +45,4 @@ python-dotenv==0.14.0 pyjwt==2.0.0a1 pint==0.9 py-dmidecode==0.1.0 +numpy==1.16.3