machine-learning-for-trading icon indicating copy to clipboard operation
machine-learning-for-trading copied to clipboard

Mamba env installation fails

Open hacky1610 opened this issue 2 years ago • 0 comments

Describe the bug The installation of the python packages by means of the ml4t.yml file is failing. I am getting the error:

Encountered problems while solving:

  • package numpy-1.19.1-py36hbc911f0_0 requires mkl >=2019.4,<2021.0a0, but none of the providers can be installed
  • package libsqlite-3.40.0-h753d276_0 requires libzlib >=1.2.13,<1.3.0a0, but none of the providers can be installed

To Reproduce

  1. Create a DOCKERFILE inside of the installation folder. The content should be

    Start from a core stack version

    FROM jupyter/datascience-notebook:python-3.8

    Install in the default python3 environment

    COPY ./linux/ml4t.yml /var/tmp/ml4t.yml RUN conda create -n ml4t python=3.8 RUN mamba env update -n ml4t -f /var/tmp/ml4t.yml RUN conda activate ml4t

  2. run docker image build --tag jupyter/base-notebook:my_version .

hacky1610 avatar Mar 19 '23 20:03 hacky1610