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
I have the latest version o huggingface_hub.
In python console I can import huggingface_hub but not its sumbodule `hf_hub_download``
Thanks for the attention.
Reproduction
❯ python
Python 3.11.7 (main, Dec 15 2023, 12:09:04) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import huggingface_hub
>>> from huggingface_hub import hf_hub_download
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'hf_hub_download' from 'huggingface_hub' (/usr/local/anaconda3/lib/python3.11/site-packages/huggingface_hub/__init__.py)
>>>
Logs
No response
System info
I can not even launch the commandfor this Issue "system Info" description
>>> from huggingface_hub import dump_environment_info
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: cannot import name 'dump_environment_info' from 'huggingface_hub' (/usr/local/anaconda3/lib/python3.11/site-packages/huggingface_hub/__init__.py)
>>> dump_environment_info()
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
NameError: name 'dump_environment_info' is not defined
>>>
The text was updated successfully, but these errors were encountered:
Describe the bug
I have the latest version o huggingface_hub.
In python console I can import
huggingface_hub
but not its sumbodule `hf_hub_download``Thanks for the attention.
Reproduction
Logs
No response
System info
The text was updated successfully, but these errors were encountered: