Unable to run the pipeline after the last update of bob.bio.base
The latest version of bob.bio.base does not support to run any simple
or score-norm
pipeline. Below is the example error message:
▶ ./bin/bob bio pipeline simple rfw-idiap arcface-insightface -vvv -o idiap_arcface
Warning: entry point could not be loaded. Contact its author for help.
Traceback (most recent call last):
File "/local/scratch/linghu/miniconda3/envs/bob.paper.frice2/lib/python3.8/site-packages/click_plugins/core.py", line 37, in decorator
group.add_command(entry_point.load())
File "/local/scratch/linghu/miniconda3/envs/bob.paper.frice2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
return self.resolve()
File "/local/scratch/linghu/miniconda3/envs/bob.paper.frice2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/__init__.py", line 1, in <module>
from . import ( # noqa: F401
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/algorithm/__init__.py", line 1, in <module>
from .Algorithm import Algorithm
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/algorithm/Algorithm.py", line 10, in <module>
from .. import utils
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/utils/__init__.py", line 12, in <module>
from .io import * # noqa: F401,F403
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/utils/io.py", line 13, in <module>
from bob.bio.base import database
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/database/__init__.py", line 1, in <module>
from . import filelist # noqa: F401
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/database/filelist/__init__.py", line 2, in <module>
from .query import FileListBioDatabase
File "/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/database/filelist/query.py", line 10, in <module>
from .. import BioFile, ZTBioDatabase
ImportError: cannot import name 'BioFile' from partially initialized module 'bob.bio.base.database' (most likely due to a circular import) (/local/scratch/linghu/bob.bio.face/src/bob.bio.base/bob/bio/base/database/__init__.py)