mrphrazer / reverser_ai

Provides automated reverse engineering assistance through the use of local large language models (LLMs) on consumer hardware.
GNU General Public License v2.0
838 stars 51 forks source link

huggingface_hub #2

Closed MachineCase closed 8 months ago

MachineCase commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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