我正在尝试在我的Docker映像中安装tensorflow 1.2.1,但是由于``找不到分发''而总是失败。
我已经在尝试安装tensorflow的地方附加了一个简单的Dockerfile,您可以在最后CMD行之前找到它。
失败并显示以下错误:
步骤11/12:RUN pip3 install tensorflow --->在cfee43b9d1f7中运行tensorflow'返回了非零代码:1
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM alpine:3.7
# ensure local python is preferred over distribution python
ENV PATH /usr/local/bin:$PATH
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install ca-certificates so that HTTPS works consistently
# the other runtime dependencies for Python …Run Code Online (Sandbox Code Playgroud)