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

huggingface_hub #2

Closed
MachineCase opened this issue Mar 19, 2024 · 4 comments
Closed

huggingface_hub #2

MachineCase opened this issue Mar 19, 2024 · 4 comments

Comments

@MachineCase
Copy link

Hi,

I tried to resolve the path for huggingface_hub, but it didn't work. It's installed, but it's not able to find the module. Any tips on how to fix it or something else that might be the issue?

Screenshot 2024-03-19 at 17 48 17
@mrphrazer
Copy link
Owner

mrphrazer commented Mar 19, 2024

Hi! I tested it before on another system, but it seems there seems to be a depency missing.Can you try

pip3 install huggingface-hub

where pip3 should be the same Python version (3.10/3.11/3.12) as configured as your Python interpreter used by BinaryNinja

@mrphrazer
Copy link
Owner

Update: On MacOS, its important that pip and python version match. For instance, if I've set the Python interpreter:

image

Then I've to install it with pip3.11 install .... The packages won't be shared, e.g., with pip3.12 / python3.12.

@psifertex
Copy link

Note that there's an action in BN: install python3 module... that you can use to install pip dependencies for the currently selected interpreter.

@mrphrazer
Copy link
Owner

I'll close this for now since it just seems to be a version mismatch between Binja's interpreter and the locally installed one. Feel free to open it again if you've any further issues

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

3 participants