提交 19bf36b7 编写于 作者: 刘琦

Merge branch 'pip-bug' into 'master'

BUG: ImportError in system pip wrappers after an upgrade

See merge request !979
......@@ -31,8 +31,10 @@ WORKDIR $CAFFE_ROOT
# https://github.com/docker/hub-feedback/issues/460
ENV CLONE_TAG=1.0
# ImportError in system pip wrappers after an upgrade.
# https://github.com/pypa/pip/issues/5599
RUN git clone -b ${CLONE_TAG} --depth 1 https://github.com/BVLC/caffe.git . && \
pip install --upgrade pip && \
python -m pip install --upgrade pip && \
cd python && for req in $(cat requirements.txt) pydot; do pip install $req; done && cd .. && \
mkdir build && cd build && \
cmake -DCPU_ONLY=1 .. && \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册