1、报错:ImportError: cannot import name ‘cached_property’ from ‘werkzeug’
#安装更高级的版本
pip install Werkzeug==0.16.0
2、已安装pip,执行python3 -m pip install -r requirements.txt,报错:/bin/python3: No module named pip
#在dockerfile中添加
RUN wget http://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
3、uwsgi安装错误 plugins/python/uwsgi_python.h:2:20: 致命错误:Python.h:没有那个文件或目录
#缺少对应python版本的python-dev
yum install python3-devel.x86_64