Hi there, I am geeting an error when adding the ku...
# ask-metaflow
m
Hi there, I am geeting an error when adding the kubernetes decorator, we don't have this problem with other user but we couldn't find a way to fix this:
Copy code
Micromamba ran into an error while setting up environment:
    command '/Users/cvalenzuela/.metaflowconfig/micromamba/bin/micromamba create --yes --quiet --dry-run --no-extra-safety-checks --repodata-ttl=86400 --retry-clean-cache --prefix=/var/folders/k6/004hy9b92lq06pxmrnn40xbw0000gq/T/tmpg1qa4b8w/prefix --channel=defaults python==3.10.13' returned error (1)
    nothing provides __glibc >=2.17 needed by libgcc-ng-11.2.0-h1234567_0
Someone knows how to fix this error?
d
the same env runs locally and for other users?
m
Yes, this error is happening for just 1 user
d
resolving from a different machine?
ie: is the machine being used to launch flows different from that of other users
m
We have the same machines
d
That is very weird.
__glibc
is typically provided by your system. Wha happends if you do
/Users/cvalenzuela/.metaflowconfig/micromamba/bin/micromamba info
. It should list the virtual packages that are detected.
you seem to be on a mac though.
hum — I’ll need to look at the OSS implementation a bit more as to why it is doing that
m
We used that command and it looks different from the one that works, do you think that something here could be the problem?
Copy code
libmamba version : 1.5.6
   micromamba version : 1.5.6
   curl version : libcurl/8.5.0 SecureTransport (OpenSSL/3.2.0) zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
   libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
   envs directories : /Users/cvalenzuela/micromamba/envs
   package cache : /Users/cvalenzuela/micromamba/pkgs
             /Users/cvalenzuela/.mamba/pkgs
   environment : /Users/cvalenzuela/anaconda3 (active)
   env location : /Users/cvalenzuela/anaconda3
   user config files : /Users/cvalenzuela/.mambarc
    populated config files : /Users/cvalenzuela/.condarc
    virtual packages : __unix=0=0
             __osx=13.6.3=0
             __archspec=1=arm64
        channels : <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>
    base environment : /Users/cvalenzuela/micromamba
        platform : osx-arm64
d
What does the one that works look like?
m
looks like this:
Copy code
libmamba version : 1.5.3
     micromamba version : 1.5.3
           curl version : libcurl/8.4.0 SecureTransport (OpenSSL/3.1.4) zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /Users/mvasquez/micromamba/envs
          package cache : /Users/mvasquez/micromamba/pkgs
                          /Users/mvasquez/.mamba/pkgs
            environment : None (not found)
           env location : -
      user config files : /Users/mvasquez/.mambarc
 populated config files :
       virtual packages : __unix=0=0
                          __osx=13.6.3=0
                          __archspec=1=arm64
               channels :
       base environment : /Users/mvasquez/micromamba
               platform : osx-arm64
d
could you move aside/remove the files
/Users/cvalenzuela/.mambarc
and
/Users/cvalenzuela/.condarc
m
Thanks @dry-beach-38304! and sry for the ungodly delay, I will write the solution just in case someone else has this same problem: We saw that user had installed conda before thanks to your recommendations, so we removed conda installation and conda env vairable from the user .zprofile and that did the trick
c
Hey would you mind posting the solution. I'm trying to install OpenCV 4.9 and getting the glibc_2.17 error.