Category : anaconda

Unable to build image on Mac M1 My Dockerfile :- FROM continuumio/anaconda3:4.4.0 COPY . /usr/app/ EXPOSE 5000 WORKDIR /usr/app/ RUN pip install -r requirements.txt CMD python app_flasgger.py whenever I run it.. got error :- => ERROR [internal] load metadata for docker.io/continuumio/anaconda3:4.4.0 30.1s [internal] load metadata for docker.io/continuumio/anaconda3:4.4.0: failed to solve with frontend dockerfile.v0: failed to ..

Read more

I try to create a new anaconda environment inside docker. I get an error message I cannot get rid of. What I do in my Dockerfile is: FROM postgis/postgis:12-master ENV BAG_ENV=bag RUN wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh –quiet -O /tmp/anaconda.sh RUN /bin/bash /tmp/anaconda.sh -b -p /opt/conda RUN conda update conda RUN conda init bash RUN . /opt/conda/etc/profile.d/conda.sh RUN ..

Read more

I want to install Scrapy on Windows Server 2019, running in a Docker container (please see here and here for the history of my installation). On my local Windows 10 machine I can run my Scrapy commands like so in Windows PowerShell (after simply starting Docker Desktop): scrapy crawl myscraper -o allobjects.json in folder C:scrapymy1stscraper ..

Read more

I’ve installed miniconda on my Mac , yet when I run it nothing is opening on localhost:8888. It’s showing port 8888 is active. I’m using the following code to access the ipynb. docker run -i -t -p 8888:8888 continuumio/miniconda /bin/bash -c "/opt/conda/bin/conda install jupyter -y –quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook –notebook-dir=/opt/notebooks –ip=’*’ –port=8888 ..

Read more

I tried to install psi4 to do a quantum chemistry calculation in the jupyter/minimal-notebook container. However, as shown in the code block below, I could not install it due to UnsatisfiableError. (base) [email protected]:~/work$ conda create -n psi4 python=3.6 Collecting package metadata (current_repodata.json): done Solving environment: done (base) [email protected]:~/work$ conda activate psi4 (psi4) [email protected]:~/work$ conda install ..

Read more

How to rewrite the following Dockerfile to use conda instead of pip? So there is no need to install pip separately. Does it have to create a new conda environment? FROM ….. COPY myproj /myproj RUN /apps/miniconda/bin/conda install –yes pip RUN /apps/miniconda/bin/python -m pip install –upgrade pip RUN pip install -r /myproj/requirements.txt ENTRYPOINT ["/apps/miniconda/bin/python"] CMD ..

Read more