rom1504 / clip-retrieval

Easily compute clip embeddings and build a clip retrieval system with them
https://rom1504.github.io/clip-retrieval/
MIT License
2.37k stars 208 forks source link

Installation issues due to requirement of scipy<1.9.2 #303

Closed rushi-the-neural-arch closed 8 months ago

rushi-the-neural-arch commented 1 year ago

This is more of a scipy instllation issue, but is it possible to upgrade the scipy requirement to 1.11+ ? Tried installation on x86_64 system by running pip install clip-retrieval when I faced this error

subprocess.CalledProcessError: Command '['meson', 'compile']' returned non-zero exit status 1.

ninja: build stopped: subcommand failed.

  • meson setup --native-file=/tmp/pip-install-8_9j25k3/scipy_cf24f13428634d55b63cf61b989bc5b8/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2 --prefix=/home/jupyter-rushi.parmar@hopin-770d1/.conda/envs/generative-ai /tmp/pip-install-8_9j25k3/scipy_cf24f13428634d55b63cf61b989bc5b8 /tmp/pip-install-8_9j25k3/scipy_cf24f13428634d55b63cf61b989bc5b8/.mesonpy-65cfg5l2/build
  • meson compile Traceback (most recent call last): ............... raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['meson', 'compile']' returned non-zero exit status 1. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

josejhlee commented 1 year ago

I feel you

rom1504 commented 1 year ago

Sure, open a PR and if it passes tests let's do it

On Fri, Aug 11, 2023, 19:03 josejhlee @.***> wrote:

I feel you

— Reply to this email directly, view it on GitHub https://github.com/rom1504/clip-retrieval/issues/303#issuecomment-1675103235, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437VOCHUTKFRCHSUH4T3XUZQXBANCNFSM6AAAAAA3NDQEP4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rom1504 commented 8 months ago

fixed