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 build error - Ubuntu 22.04.1 #2

Open
bolps opened this issue Nov 24, 2022 · 0 comments
Open

Docker build error - Ubuntu 22.04.1 #2

bolps opened this issue Nov 24, 2022 · 0 comments

Comments

@bolps
Copy link

bolps commented Nov 24, 2022

Seems that the docker image doesn't build anymore because of some python libraries.

` => [ 2/26] WORKDIR /opt/STAR_FC 0.3s
=> [ 3/26] RUN apt-get update && apt-get install -y --no-install-recommends build-essential autoco 373.7s
=> [ 4/26] WORKDIR /opt/STAR_FC 0.0s
=> [ 5/26] RUN wget -O opencv.zip https://github.com/opencv/opencv/archive/3.3.0.zip && unzip openc 21.7s
=> [ 6/26] WORKDIR /opt/STAR_FC/opencv-3.3.0/build 0.0s
=> [ 7/26] RUN cmake -DCMAKE_BUILD_TYPE=RELEASE -DWITH_GTK=OFF -DWITH_GTK_2_X=OFF -DWITH_QT=ON 3084.1s
=> ERROR [ 8/26] RUN pip3 install matplotlib==2.2.3 scikit-image==0.15 numpy 20.9s

[ 8/26] RUN pip3 install matplotlib==2.2.3 scikit-image==0.15 numpy:
#11 1.421 Collecting matplotlib==2.2.3
#11 4.025 Downloading https://files.pythonhosted.org/packages/de/af/6258db9b26313dd7ad70dba30a60bec62bf030a44208d4cb62966206666f/matplotlib-2.2.3-cp35-cp35m-manylinux1_x86_64.whl (12.6MB)
#11 7.206 Collecting scikit-image==0.15
#11 9.203 Downloading https://files.pythonhosted.org/packages/00/ba/9688afba6ab3714875a8d22284ce0362086e47f3cda60243e5d4de5e5943/scikit_image-0.15.0-cp35-cp35m-manylinux1_x86_64.whl (26.2MB)
#11 15.81 Collecting numpy
#11 16.66 Downloading https://files.pythonhosted.org/packages/42/38/775b43da55fa7473015eddc9a819571517d9a271a9f8134f68fb9be2f212/numpy-1.23.5.tar.gz (10.7MB)
#11 20.32 Complete output from command python setup.py egg_info:
#11 20.32 Traceback (most recent call last):
#11 20.32 File "", line 1, in
#11 20.32 File "/tmp/pip-build-2w8wp9xj/numpy/setup.py", line 64
#11 20.32 raise RuntimeError(f'Cannot parse version {FULLVERSION}')
#11 20.32 ^
#11 20.32 SyntaxError: invalid syntax
#11 20.32
#11 20.32 ----------------------------------------
#11 20.42 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2w8wp9xj/numpy/
#11 20.78 You are using pip version 8.1.1, however version 22.3.1 is available.
#11 20.78 You should consider upgrading via the 'pip install --upgrade pip' command.


executor failed running [/bin/sh -c pip3 install matplotlib==2.2.3 scikit-image==0.15 numpy]: exit code: 1`

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

1 participant