luca-medeiros/lang-segment-anything

software conflict

Closed this issue ยท 5 comments

Instructions To Reproduce the ๐Ÿ› Bug:

I try to run pip install -e . ,but it seems some conflicts. please help me

image

yes i am also facing same please help

yes, I also have the same problem.

I had the same problem and was able to resolve it with the help of this pull request: #68

I believe I have fixed this issue, if yes then please close it.

These were the ones causing the issue for me:

supervision >= 0.22.0 (current 0.6.0)
pillow == 9.4.0 (current 9.3.0)
huggingface-hub == 0.23.5 (current 0.13.4)
lightning >= 2.3.3 <3.0.0 (current 2.0.5)
transformers<5.0.0 and >=4.42.4 (current 4.2.4)
lightning-utilities>=0.10.0 (current 0.9.0)
safetensors>=0.4.1 (current 0.3.1)
tokenizers<0.20 and >=0.19 (current 0.13.3)

After changing them I was able to complete the install, but I still had a different issue - Grounding DINO is not loading.

File ~/.conda/envs/lsa/lib/python3.8/site-packages/packaging/version.py:196, in Version.__init__(self, version)
    185 """Initialize a Version object.
    186 
    187 :param version:
   (...)
    192     exception will be raised.
    193 """
    195 # Validate the version and parse it into pieces
--> 196 match = self._regex.search(version)
    197 if not match:
    198     raise InvalidVersion(f"Invalid version: '{version}'")

TypeError: expected string or bytes-like object`

I tried the solution proposed here but it's not working for me - #66 (comment)