__________________ ERROR collecting test/file/test_stream.py ___________________
hbutils/string/plural.py:10: in <module>
import inflect
E ModuleNotFoundError: No module named 'inflect'
During handling of the above exception, another exception occurred:
test/file/test_stream.py:7: in <module>
from hbutils.testing import isolated_directory
hbutils/testing/__init__.py:6: in <module>
from .compare import *
hbutils/testing/compare/__init__.py:1: in <module>
from .text import *
hbutils/testing/compare/text.py:12: in <module>
from ...string import plural_word
hbutils/string/__init__.py:6: in <module>
from .plural import *
hbutils/string/plural.py:14: in <module>
pip_install(['inflect>=5.2.0'], silent=True)
hbutils/system/python/package.py:181: in pip_install
pip('install', *(('--user',) if user else ()), *reqs, silent=silent)
hbutils/system/python/package.py:96: in pip
assert not process.returncode, f'Error when calling {process.args!r}{os.linesep}' \
E AssertionError: Error when calling ['/Users/runner/hostedtoolcache/Python/3.9.16/x[64](https://github.com/HansBug/hbutils/actions/runs/4032245347/jobs/6932003704#step:14:65)/bin/python', '-m', 'pip', 'install', 'inflect>=5.2.0']
E Error Code - 1
E Stdout:
E Collecting inflect>=5.2.0
E Downloading inflect-6.0.2-py3-none-any.whl (34 kB)
E Collecting pydantic>=1.9.1
E Downloading pydantic-1.10.4-cp39-cp39-macosx_10_9_x86_64.whl (2.9 MB)
E ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 14.1 MB/s eta 0:00:00
E Collecting typing-extensions>=4.2.0
E Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
E Installing collected packages: typing-extensions, pydantic, inflect
E
E
E Stderr:
E ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/Users/runner/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/pydantic/types.cpython-39-darwin.so'
See here: https://github.com/opendilab/DI-engine/actions/runs/4031645083/jobs/6931053414