amazon-science / RefChecker

RefChecker provides automatic checking pipeline and benchmark dataset for detecting fine-grained hallucinations generated by Large Language Models.
Apache License 2.0
225 stars 17 forks source link

Macbook M1 chip - dependency install issues #9

Open moyarich opened 4 months ago

moyarich commented 4 months ago

I have a macbook: M1 chip: I am getting this error, when I run the command

pip install -e .
python -m spacy download en_core_web_sm

Error message:

Using cached rank_bm25-0.2.2-py3-none-any.whl.metadata (3.2 kB)
Collecting scikit-learn<2.0.0,>=1.3.2 (from refchecker==0.1)
  Using cached scikit_learn-1.4.1.post1-cp312-cp312-macosx_12_0_arm64.whl.metadata (11 kB)
INFO: pip is looking at multiple versions of refchecker to determine which version is compatible with other requirements. This could take a while.

ERROR: Could not find a version that satisfies the requirement scikit-learn-intelex<2025.0.0,>=2024.1.0 (from refchecker) (from versions: none)

ERROR: No matching distribution found for scikit-learn-intelex<2025.0.0,>=2024.1.0
(.venv) ➜  RefChecker git:(main) ✗ python -m spacy download en_core_web_sm
/Users/mooy/www/+projects/2024/proj-ragathon-march-2024-refchecker/prototype/RefChecker/.venv/bin/python: No module named spacy
alexlorenzo commented 3 days ago

I have a macbook with M1 chip, I installed every packages/versions with poetry install