Search code examples
pythondockerdockerfileseal

How to install scikit-learn, pandas and numpy in a docker image?


I am doing a project using the PySEAL library. My project is Machine Learning related so I want to use scikit-learn, pandas and numpy libraries. How can I install these libraries so that I can use them in PySEAL docker container's code?


Solution

  • Simply add numpy and scikit-learn to PySEAL's requirements file.

    Your final requirements file should be:

    pybind11
    cppimport
    jupyter
    numpy
    scikit-learn
    

    And run build-docker.sh again.