pip install mysqlclient fails on Ubuntu with python 2.7 on docker

后端 未结 1 815
灰色年华
灰色年华 2021-01-26 22:03

When I ran the docker file code below

RUN apt-get update && apt-get install -y --no-install-recommends \\
        ca-certificates \\
        vim \\
              


        
相关标签:
1条回答
  • 2021-01-26 22:45

    Add build-essential to the apt-get install package list.

    It seems that your base image is very basic, and does not have gcc installed, so you cannot compile anything.

    0 讨论(0)
提交回复
热议问题