Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Fix model optimizer by wheel #544

Merged
merged 1 commit into from
Aug 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Xeon/ubuntu-18.04/analytics/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ ARG PYTHON_TRUSTED_INDEX_URL

#installing dependency libs to mo_libs directory to avoid issues with updates to Python version
RUN apt-get install -y python3-dev
RUN pip3 install wheel
RUN cd openvino/model-optimizer && \
if [ "x$PYTHON_TRUSTED_HOST" = "x" ] ; \
then pip3 install --target=/home/build/mo_libs -r requirements.txt && \
Expand Down
1 change: 1 addition & 0 deletions XeonE3/ubuntu-18.04/analytics/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ ARG PYTHON_TRUSTED_INDEX_URL

#installing dependency libs to mo_libs directory to avoid issues with updates to Python version
RUN apt-get install -y python3-dev
RUN pip3 install wheel
RUN cd openvino/model-optimizer && \
if [ "x$PYTHON_TRUSTED_HOST" = "x" ] ; \
then pip3 install --target=/home/build/mo_libs -r requirements.txt && \
Expand Down
3 changes: 2 additions & 1 deletion template/dldt-ie.m4
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ ARG PYTHON_TRUSTED_INDEX_URL
#installing dependency libs to mo_libs directory to avoid issues with updates to Python version
ifelse(index(DOCKER_IMAGE,centos),-1,
ifelse(index(DOCKER_IMAGE,1804),-1,,dnl
RUN apt-get install -y python3-dev)
RUN apt-get install -y python3-dev
RUN pip3 install wheel)
,dnl
RUN yum install -y python3-devel
)dnl
Expand Down