diff --git a/docs/demo_guides/x86.md b/docs/demo_guides/x86.md index 414aaeebe573f96f757219536b8f085b84fde342..a8a4c117b69d401a7630edc231736e1bd74ba89f 100644 --- a/docs/demo_guides/x86.md +++ b/docs/demo_guides/x86.md @@ -4,9 +4,17 @@ Paddle-Lite 支持在Docker或Linux环境编译x86预测库。环境搭建参考[环境准备](../user_guides/source_compile)。 +如果编译python库(`build_python=ON`)需要额外安装`python-dev`和`patch` + +```shell +apt-get install patch +apt-get install python && apt-get install python-dev +``` + ### 编译 1、 下载代码 + ```bash # 下载Paddle-Lite源码 git clone https://github.com/PaddlePaddle/Paddle-Lite.git