You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
folllow the pip installation instructions and not able to run the example
cmds to reproduce the issue
mkdir test_airio
cd test_airio
python3 -m venv .
git clone https://github.com/google/airio.git
cd airio
pip install -e .
cd airio/example
python3 quickstart.py
got the following error
Traceback (most recent call last):
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/numpy/__init__.py", line 159, in <module>
from . import ma
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/numpy/ma/__init__.py", line 42, in <module>
from . import core
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/numpy/ma/core.py", line 7940, in <module>
inner.__doc__ = doc_note(np.inner.__doc__,
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/numpy/ma/core.py", line 125, in doc_note
notesplit = re.split(r'\n\s*?Notes\n\s*?-----', inspect.cleandoc(initialdoc))
AttributeError: partially initialized module 'inspect' has no attribute 'cleandoc' (most likely due to a circular import)
ImportError: numpy.core._multiarray_umath failed to import
Traceback (most recent call last):
File "/home/yejingxin/test_airio/airio/airio/examples/quickstart.py", line 19, in <module>
from absl import app
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/absl/app.py", line 31, in <module>
import pdb
File "/usr/lib/python3.10/pdb.py", line 75, in <module>
import bdb
File "/usr/lib/python3.10/bdb.py", line 6, in <module>
from inspect import CO_GENERATOR, CO_COROUTINE, CO_ASYNC_GENERATOR
File "/home/yejingxin/test_airio/airio/airio/examples/inspect.py", line 20, in <module>
import airio.pygrain as airio
File "/home/yejingxin/test_airio/airio/airio/pygrain.py", line 19, in <module>
from ._src.pygrain import data_sources
File "/home/yejingxin/test_airio/airio/airio/_src/pygrain/data_sources.py", line 23, in <module>
import grain.python as grain
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/grain/python.py", line 21, in <module>
from . import python_experimental as experimental
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/grain/python_experimental.py", line 22, in <module>
from . import python_lazy_dataset as lazy_dataset
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/grain/python_lazy_dataset.py", line 21, in <module>
from ._src.python.lazy_dataset.data_loader import DataLoader
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/grain/_src/python/lazy_dataset/data_loader.py", line 6, in <module>
from grain._src.python.lazy_dataset import lazy_dataset
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/grain/_src/python/lazy_dataset/lazy_dataset.py", line 55, in <module>
from grain._src.python import grain_pool
File "/home/yejingxin/test_airio/lib/python3.10/site-packages/grain/_src/python/grain_pool.py", line 53, in <module>
import pstats
File "/usr/lib/python3.10/pstats.py", line 58, in <module>
class FunctionProfile:
File "/usr/lib/python3.10/dataclasses.py", line 1175, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
File "/usr/lib/python3.10/dataclasses.py", line 1093, in _process_class
str(inspect.signature(cls)).replace(' -> None', ''))
AttributeError: partially initialized module 'inspect' has no attribute 'signature' (most likely due to a circular import)
The text was updated successfully, but these errors were encountered:
folllow the pip installation instructions and not able to run the example
cmds to reproduce the issue
got the following error
The text was updated successfully, but these errors were encountered: