[push module] can't generate push lists
Closed this issue · 0 comments
RosaWagner commented
I have this error when trying to use gftools gen-push-lists
Traceback (most recent call last):
File "/Users/rosalie/Google/env/bin/gftools", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/rosalie/Google/env/lib/python3.11/site-packages/gftools/scripts/__init__.py", line 90, in main
mod = import_module(f".{module}", package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/Users/rosalie/Google/env/lib/python3.11/site-packages/gftools/scripts/gen_push_lists.py", line 18, in <module>
from gftools.push import (
ImportError: cannot import name 'PushItems' from 'gftools.push' (/Users/rosalie/Google/env/lib/python3.11/site-packages/gftools/push/__init__.py)