Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when starting #1

Open
drphero opened this issue Sep 29, 2024 · 1 comment
Open

Error when starting #1

drphero opened this issue Sep 29, 2024 · 1 comment

Comments

@drphero
Copy link

drphero commented Sep 29, 2024

When trying to run chat-with-mlx, I get the following error. I checked and huggingface_hub is installed in the environment.

Traceback (most recent call last):
  File "/Users/brent/pinokio/api/mlx.git/app/env/bin/chat-with-mlx", line 5, in <module>
    from chat_with_mlx.app import main
  File "/Users/brent/pinokio/api/mlx.git/app/chat_with_mlx/app.py", line 10, in <module>
    from mlx_lm import load, stream_generate, generate
  File "/Users/brent/pinokio/api/mlx.git/app/env/lib/python3.10/site-packages/mlx_lm/__init__.py", line 3, in <module>
    from .utils import convert, generate, load, stream_generate
  File "/Users/brent/pinokio/api/mlx.git/app/env/lib/python3.10/site-packages/mlx_lm/utils.py", line 17, in <module>
    from huggingface_hub.utils._errors import RepositoryNotFoundError
ModuleNotFoundError: No module named 'huggingface_hub.utils._errors'
@emircanerkul
Copy link

+1 same with mac m1 15 ModuleNotFoundError: No module named 'huggingface_hub.utils._errors'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants