File "/opt/conda/envs/colbert/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 25, in <module>
from pkg_resources import packaging # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources'
when I run from colbert import Indexer. I have checked that setuptools and packaging are both installed and I can run:
Hi,
I follow the readme to create conda env:
and then install colbert through:
but I get error:
when I run
from colbert import Indexer
. I have checked that setuptools and packaging are both installed and I can run:Any suggestions? Thanks.
Best, Zhiyuan.