Skip to content

Docker build fails with "ModuleNotFoundError: No module named 'skbuild'" #3197

Discussion options

You must be logged in to vote

I think I fixed it. The issue was that opencv-contrib-python needed Python 3.8 in order to work. I made some minor changes to my Dockerfile_binary. The second block in that file now looks like this:

RUN apt-get update
RUN apt-get install \
	python3.8 \
	python3.8-distutils \
	sudo \
	libglu1-mesa-dev \
	xdg-user-dirs \
	pulseaudio \
	sudo \
	wget \
	x11-xserver-utils \
	-y --no-install-recommends
RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3 get-pip.py
RUN rm get-pip.py
RUN pip3 install setuptools wheel
RUN pip3 install airsim

Seems to build now, and I don't see the skbuild error anymore.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jonyMarino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #3197 on December 17, 2020 18:38.