- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Inside a Dockerfile based on an official miniconda image from continuum.io I have a step:
RUN conda env create -n my-env -f=environment.yml
This creates a conda environment based on dependencies listed in environment.yml. One of the dependencies, listed under the pip section of the yaml is mkl==2018.0.3. When creating the environment, conda attempts to do a pip install of mkl version 2018.0.3. Unfortunately, after downloading mkl, the environment creation invariably fails with the error
CondaValueError: pip returned an error
When running the same command locally – outside the Docker image – the environment is created successfully. I have also tried basing my image off of an Ubuntu image, and manually installing miniconda on top of it. The same error still occurs when I try to create the environment after these steps.
Has anybody else experienced this problem?
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page