conda-forge / vmtk-feedstock

A conda-smithy repository for vmtk.
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Unable to install VMTK from conda forge #24

Open robertclercpredisurge opened 3 months ago

robertclercpredisurge commented 3 months ago

Solution to issue cannot be found in the documentation.

Issue

Hello,

I can't install VMTK 1.5.0 from conda-forge with this command lines (conda 24.1.2):

conda install -c conda-forge vmtk==1.5.0 or conda install conda-forge::vmtk or conda install vmtk

I've any time this error :

` PackagesNotFoundError: The following packages are not available from current channels:

vmtk Current channels:

https://conda.anaconda.org/conda-forge defaults To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org/ and use the search bar at the top of the page.`

Installed packages

bzip2                     1.0.8                h93a5062_5    conda-forge
ca-certificates           2024.6.2             hf0a4a13_0    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libsqlite                 3.45.3               h091b4b1_0    conda-forge
libzlib                   1.3.1                hfb2fe0b_1    conda-forge
ncurses                   6.5                  hb89a1cb_0    conda-forge
openssl                   3.3.1                hfb2fe0b_0    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
python                    3.10.14         h2469fbe_0_cpython    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
setuptools                70.0.0             pyhd8ed1ab_0    conda-forge
tk                        8.6.13               h5083fa2_1    conda-forge
tzdata                    2024a                h0c530f3_0    conda-forge
wheel                     0.43.0             pyhd8ed1ab_1    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge

Environment info

active environment : test_vmtk
    active env location : /opt/anaconda3/envs/test_vmtk
            shell level : 2
       user config file : /Users/robertclerc/.condarc
 populated config files : /Users/robertclerc/.condarc
          conda version : 24.1.2
    conda-build version : 24.1.2
         python version : 3.11.8.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m1
                          __conda=24.1.2=0
                          __osx=14.1=0
                          __unix=0=0
       base environment : /opt/anaconda3  (writable)
      conda av data dir : /opt/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/anaconda3/pkgs
                          /Users/robertclerc/.conda/pkgs
       envs directories : /opt/anaconda3/envs
                          /Users/robertclerc/.conda/envs
               platform : osx-arm64
             user-agent : conda/24.1.2 requests/2.31.0 CPython/3.11.8 Darwin/23.1.0 OSX/14.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.6 aau/0.4.3 c/l4Tl7RMafufZ4hDn1KLR1g s/LzmRY5xpLtb5-63zQmkprA e/6YH5gfqnLcXvBubitwb9aA
                UID:GID : 501:20
             netrc file : None
           offline mode : False
ramtingh commented 3 months ago

It looks like you're on an Apple silicon mac? Currently this repo doesn't build packages for ARM machines. I assume it should be feasible to add it as the VTK feedstock added support a couple of years ago, however so far I haven't gotten around to looking into it

ramtingh commented 3 months ago

Probably you'd want to follow the workaround here https://github.com/vmtk/vmtk/issues/452#issuecomment-1489829429

BastianZim commented 3 months ago

Some more info here: https://conda-forge.org/docs/maintainer/knowledge_base/#apple-silicon-builds