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

Pip Install Error #197

Open KevinhkGong opened 2 months ago

KevinhkGong commented 2 months ago

When trying to install from source I got the error similar to thread #192. After install upgrade for setuptools I got the following error:

 pip install -e .
DEPRECATION: Loading egg at /home/hgong/anaconda3/lib/python3.11/site-packages/fonttools-4.53.1-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /home/hgong/anaconda3/lib/python3.11/site-packages/munkres-1.1.4-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /home/hgong/anaconda3/lib/python3.11/site-packages/mmpose-0.28.0-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
Obtaining file:///home/hgong/Grounded-Segment-Anything/grounded-sam-osx/recognize-anything
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
lky-violet commented 4 weeks ago

me too!