How to fix Theano crash caused by missing blas config?

Viewed 149

When I try to use Theano, I run into the following error:

configparser.NoSectionError: No section: 'blas'

(full log)

The following minimal example reproduces the problem:

FROM python:3.9.9-slim

RUN apt-get update
RUN apt-get install -y python3-dev g++ libopenblas-dev libopenblas-base libatlas-base-dev libblas-dev liblapack-dev

RUN pip install theano

RUN python -c "from theano import *"

What am I missing?

0 Answers
Related