python3.7 -m pip python版本决定pip版本,pip要指定版本去安装

RUN pip config set global.index-url https://mirror.baidu.com/pypi/simple \
    && python3.7 -m pip install --upgrade setuptools \
    && python3.7 -m pip install --upgrade pip \
    && pip3.7 uninstall paddle-serving-server-gpu \
    && pip3.7 uninstall paddle-serving-client \
    && pip3.7 uninstall paddle-serving-app \
    && pip3.7 install paddle_serving_client-0.8.3-cp37-none-any.whl \
    && pip3.7 install paddle_serving_server_gpu-0.8.3.post101-py3-none-any.whl \
    && pip3.7 install paddle_serving_app-0.8.3-py3-none-any.whl \
    && export SERVING_BIN=${PWD}/serving-gpu-101-0.8.3/serving \
    && pip3.7 install -r requirements.txt \
    && python3.7 paddle_model.py

你可能感兴趣的:(笔记,python,术语,python,paddlepaddle,深度学习)