Vincentqyw / image-matching-webui

🤗 image matching toolbox webui
https://huggingface.co/spaces/Realcat/image-matching-webui
Apache License 2.0
716 stars 59 forks source link

conda env: ResolvePackageNotFound: #5

Closed mattiasmar closed 1 year ago

mattiasmar commented 1 year ago

Hello, I get a lot of ResolvePackageNotFound errors from the conda environment. Could you please regenerate the environment.yaml so to make sure it is up to date? Thanks!

CONDA_RESTORE_FREE_CHANNEL=1 conda env create --name imw --file environment.yaml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - pyrsistent==0.18.1=py310he2412df_1
  - jpeg==9e=h8ffe710_1
  - m2w64-libwinpthread-git==5.0.0.4634.697f757=2
  - sip==6.5.1=py310h8a704f9_2
  - pywin32==303=py310he2412df_0
  - protobuf==3.19.1=py310hd77b12b_0
  - libbrotlidec==1.0.9=h8ffe710_7
  - jupyter==1.0.0=py310haa95532_7
  - m2w64-gcc-libgfortran==5.3.0=6
  - libglib==2.70.2=h3be07f2_4
  - pyqt==5.15.4=py310h8a704f9_0
    ...
Vincentqyw commented 1 year ago

fixed, pls pull the new code and check the requirements:

git clone --recursive https://github.com/Vincentqyw/image-matching-webui.git
cd image-matching-webui
conda env create -f environment.yaml
conda activate imw

if there are any further problems, post the full log here.

mattiasmar commented 1 year ago

Thanks!

alexs7 commented 7 months ago

Is CUDA needed ?

mattiasmar commented 7 months ago

The image-matching-webui doesn't require it. Some of the models use it.

eyildiz-ugoe commented 1 month ago

This problem still exists. I'd re-open this ticket.

_Retrieving notices: ...working... done
Collecting package metadata (repodata.json): / WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0.*, but conda is ignoring the .* and treating it as 1.6.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
done
Solving environment: failed

ResolvePackageNotFound: 
  - cudatoolkit=12.1_

edit: solved it using this command:

conda install nvidia/label/cuda-12.1.0::cuda-toolkit