liferoad commented on issue #32965:
URL: https://github.com/apache/beam/issues/32965#issuecomment-2600981094

   ```
   >>> from sentence_transformers import SentenceTransformer
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File 
"/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/__init__.py",
 line 3, in <module>
       from .datasets import SentencesDataset, ParallelSentencesDataset
     File 
"/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/datasets/__init__.py",
 line 3, in <module>
       from .ParallelSentencesDataset import ParallelSentencesDataset
     File 
"/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/datasets/ParallelSentencesDataset.py",
 line 4, in <module>
       from .. import SentenceTransformer
     File 
"/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/SentenceTransformer.py",
 line 12, in <module>
       from huggingface_hub import HfApi, HfFolder, Repository, hf_hub_url, 
cached_download
   ImportError: cannot import name 'cached_download' from 'huggingface_hub' 
(/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/huggingface_hub/__init__.py)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to