luca-medeiros / lang-segment-anything

SAM with text prompt
Apache License 2.0
1.74k stars 192 forks source link

Does not support Python3.10 #56

Closed plutonic89 closed 6 months ago

plutonic89 commented 7 months ago
  1. Background explanation

During installation I used python3.10. I got an error

ERROR: Package 'lang-sam' requires a different Python: 3.11.5 not in '<3.11,>=3.8'

  1. Full runnable code or full changes you made:

I changed the dependency in the environment.yml file. I used the following

instead of python3.8

  1. What exact command you run:

pip install -U git+https://github.com/luca-medeiros/lang-segment-anything.git

mzg0108 commented 6 months ago

I have python 3.7.9 and I got the error ERROR: Package 'lang-sam' requires a different Python: 3.7.9 not in '>=3.8,<3.11'

luca-medeiros commented 6 months ago

make sure your python is 3.8~3.10.