Ask or search…
Comment on page


Concrete-Numpy is natively supported on Linux and macOS for Python 3.8 and 3.9, but if you have Docker support in your platform, you can use the docker image to use Concrete-Numpy.

Using PyPI

You can install Concrete-Numpy from PyPI:
pip install -U pip wheel setuptools
pip install concrete-numpy
Apple silicon users must use docker installation (explained below) as there is no ARM version of some of our dependencies for the time being.

Using Docker

You can also get the Concrete-Numpy docker image:
docker pull zamafhe/concrete-numpy:v0.11.1

Starting a Jupyter server.

By default, the entry point of the Concrete-Numpy docker image is a jupyter server that you can access from your browser:
docker run --rm -it -p 8888:8888 zamafhe/concrete-numpy:v0.11.1
To save notebooks on host, you can use a local volume:
docker run --rm -it -p 8888:8888 -v /path/to/notebooks:/data zamafhe/concrete-numpy:v0.11.1

Starting a Bash session.

Alternatively, you can launch a Bash session:
docker run --rm -it zamafhe/concrete-numpy:latest /bin/bash