kevinzakka/mink

Is it possible to do a conda install version

kelejichi6463 opened this issue · 7 comments

Hello author, I get an error when installing with PIP that there is no suitable mink version, so I would like to ask you if it is possible to make an installation version of conda. Thank you very much

Yeah, you can try this environment.yaml

name: mink
channels:
  - conda-forge
  - defaults
dependencies:
  - python=3.10
  - pip
  - pip:
      - mink[examples]

Then, just run conda or mamba like so: mamba env create -f environment.yaml and mamba activate mink. You should be able to run mink and its related examples after this.

@kelejichi6463 Can I have some more information? Python version, OS, commands run, etc.

@jonzamora It works! Great! Thank you jonzamora!

@kevinzakka Hi, kevinzakka, My python version is 3.10.14, OS is ubuntu, and I make a env for pink, it works well~

@jonzamora This method can be successfully installed on one computer, but it requires additional manual installation of some packages. When installing on another computer, an error occurred midway, and reinstallation prompted: CondaValueError: prefix already exists: /home/XXX/anaconda3/envs/mink .

@kelejichi6463 Try to update the environment like this

mamba env update -f environment.yaml
# or
conda env update -f environment.yaml

Assuming you just need to update the existing mink environment with additional packages you've added to environment.yaml.

I can't really reproduce this issue. mink has worked for me on multiple platforms with the only requirement being python>=3.9. Going to close, but feel free to re-open if there are other issues that persist with a clean environment install.

Also thanks @jonzamora for the help!