xinyu1205 / recognize-anything

Open-source and strong foundation image recognition models.
https://recognize-anything.github.io/
Apache License 2.0
2.78k stars 271 forks source link

Unable to proceed with command 'pip install -e .' #189

Closed Eunice-Wyy closed 3 months ago

Eunice-Wyy commented 3 months ago

🐛 Bug Report

ERROR: Failed building wheel for tokenizers Failed to build tokenizers ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects

🔬 How To Reproduce

Steps to reproduce the behavior:

  1. Git clone the repo
  2. Error when downloading command "pip install -e ."
    • have already downloaded Rust compiler (it was the first error which came up)

Environment

Screenshots

  1. When running the command: image
Rokkonrol commented 3 months ago
pip install --upgrade setuptools
pip install -e .
Eunice-Wyy commented 3 months ago

I managed to solve it by recreating the conda environment with python version 3.8, thanks alot.