Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose build fails due to python version mismatch #19

Open
sblandford opened this issue Jul 10, 2021 · 1 comment
Open

docker-compose build fails due to python version mismatch #19

sblandford opened this issue Jul 10, 2021 · 1 comment

Comments

@sblandford
Copy link

Running docker-compose build fails with the following final output.

Setting up python3 (3.5.1-3) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up python3-dev (3.5.1-3) ...
Setting up dh-python (2.20151103ubuntu1.2) .
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
Processing triggers for systemd (229-4ubuntu21.31) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1892k  100 1892k    0     0  16.6M      0 --:--:-- --:--:-- --:--:-- 16.8M
ERROR: This script does not work on Python 3.5 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/3.5/get-pip.py instead.
ERROR: Service 'preprocess' failed to build: The command '/bin/sh -c apt-get update     && apt-get upgrade -y     && apt-get install -y --no-install-recommends      git     gcc     make     curl      wget     cmake     unzip     libsm6     libxext6     libpq-dev     libxrender1     libglib2.0-0     liblapack-dev     libxrender-dev     libopenblas-dev     build-essential     ca-certificates     python3-dev     && curl -kL https://bootstrap.pypa.io/get-pip.py | python3     && pip3 install --upgrade pip setuptools     && pip3 install scikit-build' returned a non-zero code: 1

Looks like Python 3.5 is being installed but Python >3.6 is required.

@meokz
Copy link
Owner

meokz commented Sep 20, 2021

The error message says,

Please use https://bootstrap.pypa.io/pip/3.5/get-pip.py instead.

We need to modify the Dockerfile. We wait for pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants