CLIPN icon indicating copy to clipboard operation
CLIPN copied to clipboard

Having trouble installing requirements on MacOS with M3

Open xueruma opened this issue 1 year ago • 2 comments

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 ??

xueruma avatar Apr 21 '24 04:04 xueruma

Hello, comrade. I wanted to ask if you've resolved your second issue? Regarding the "Cloud-init" library, have you successfully installed it? If you haven't installed the "Cloud-init" library, is it still possible to run the code?

huangliang-666 avatar Sep 22 '24 08:09 huangliang-666

Hi

Sorry for the late reply. It's not necessary, lib. In fact, when I first worked on CLIPN, I didn't create a separate environment for it but rather a mix of many projects, which led to a lot of unrelated libraries being involved in it. If you want to run CLIPN, just installing timm, open-clip, pytorch is enough.

SiLangWHL avatar Oct 23 '24 12:10 SiLangWHL