Hello, Flow that I could run yesterday, is now al...
# ask-metaflow
a
Hello, Flow that I could run yesterday, is now al of a sudden now working anymore. Seems to happen because of the pypi_base decorator, which to to bootstrap the virtual environment, which is unable to download certain packages. Are more people having this issue, or is just me? I am asking because I haven't changed anything.
Copy code
from metaflow import FlowSpec, pypi_base, step

@pypi_base(python="3.10")
class LinearFlow(FlowSpec):


    @step
    def start(self):
        self.my_var = 'hello world'
        self.next(self.a)

    @step
    def a(self):
        print('the data artifact is: %s' % self.my_var)
        self.next(self.end)

    @step
    def end(self):
        print('the data artifact is still: %s' % self.my_var)

if __name__ == '__main__':
    LinearFlow()
Copy code
Validating your flow...
    The graph looks good!
Running pylint...
    Pylint not found, so extra checks are disabled.
Bootstrapping virtual environment(s) ...
    Micromamba ran into an error while setting up environment:
    command '/Users/alper/.metaflowconfig/micromamba/bin/micromamba create --yes --no-deps --download-only --safety-checks=disabled --no-extra-safety-checks --repodata-ttl=86400 --prefix=/var/folders/my/bv04f6xs1cx1kw73h2ng99mw0000gn/T/tmpko0_hlpd/prefix --quiet <https://conda.anaconda.org/conda-forge/noarch/tzdata-2023c-h71feb2d_0.conda> <https://conda.anaconda.org/conda-forge/osx-64/bzip2-1.0.8-h10d778d_5.conda> <https://conda.anaconda.org/conda-forge/osx-64/libffi-3.4.2-h0d85af4_5.tar.bz2> <https://conda.anaconda.org/conda-forge/osx-64/libzlib-1.2.13-h8a1eda9_5.conda> <https://conda.anaconda.org/conda-forge/osx-64/ncurses-6.4-h93d8f39_2.conda> <https://conda.anaconda.org/conda-forge/osx-64/xz-5.2.6-h775f41a_0.tar.bz2> <https://conda.anaconda.org/conda-forge/osx-64/ca-certificates-2023.11.17-h8857fd0_0.conda> <https://conda.anaconda.org/conda-forge/osx-64/tk-8.6.13-h1abcd95_1.conda> <https://conda.anaconda.org/conda-forge/osx-64/libsqlite-3.44.2-h92b6c6a_0.conda> <https://conda.anaconda.org/conda-forge/osx-64/readline-8.2-h9e318b2_1.conda> <https://conda.anaconda.org/conda-forge/osx-64/openssl-3.2.0-hd75f5a5_1.conda> <https://conda.anaconda.org/conda-forge/osx-64/sqlite-3.44.2-h7461747_0.conda> <https://conda.anaconda.org/conda-forge/osx-64/python-3.10.0-h38b4d05_3_cpython.tar.bz2> <https://conda.anaconda.org/conda-forge/noarch/wheel-0.42.0-pyhd8ed1ab_0.conda> <https://conda.anaconda.org/conda-forge/noarch/setuptools-68.2.2-pyhd8ed1ab_0.conda> <https://conda.anaconda.org/conda-forge/noarch/pip-23.3.2-pyhd8ed1ab_0.conda>' returned error (1)
    critical libmamba The package "<https://conda.anaconda.org/conda-forge/noarch/tzdata-2023c-h71feb2d_0.conda::tzdata==2023c=h71feb2d_0>" is not found in any loaded channels. Try adding more channels or subdirs.