xmed-lab / CLIPN

ICCV 2023: CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No
MIT License
116 stars 10 forks source link

Having trouble installing requirements on MacOS with M3 #9

Open xueruma opened 4 months ago

xueruma commented 4 months ago

I tried to do pip install -r ./requirements as instructed but encountered a couple issues:

  1. error in blessings setup command: use_2to3 is invalid. indicating an error when installing blessings==1.6, which in fact can be solve by pip install setuptools==58 ref
  2. Error installing cloud-init command-not-found cupshelpers defer==1.06 distro-info===0.23ubuntu1 language-selector==0.1 nvidia-cublas-cu11==11.10.3.66 through pip on MacOS
    ERROR: Could not find a version that satisfies the requirement cloud-init==23.1.2 (from versions: none)
    ERROR: No matching distribution found for cloud-init==23.1.2

    A quick google search suggests that cloud-init seems to be (terribly undocumented) something usually built-in in a virtual machine.

Any suggestions to solve the issue of installing these packages ??