$ python -c "import nanopq"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/my/python3.6/site-packages/nanopq/__init__.py", line 6, in <module>
from .convert_faiss import nanopq_to_faiss, faiss_to_nanopq
File "/my/python3.6/site-packages/nanopq/convert_faiss.py", line 3, in <module>
spec = importlib.util.find_spec("faiss")
AttributeError: module 'importlib' has no attribute 'util'
I cannot import
nanopq
.It looks like this.
Your project's CI uses
pytest
, andpytest
contains menyimport importlib.util
. https://github.com/pytest-dev/pytest/search?q=importlib&unscoped_q=importlib So, maybe an error does not occur at CI test.