Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/zh/install_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,14 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
PyMesh 库需要以 setup 的方式进行安装,命令如下:

``` sh
git clone https://github.com/PyMesh/PyMesh.git
cd PyMesh
wget https://paddle-org.bj.bcebos.com/paddlescience/PyMesh.tar.gz
tar -zxvf PyMesh.tar.gz

# 也可以使用 git 命令下载,速度可能会比较慢
# git clone https://github.com/PyMesh/PyMesh.git
# git submodule update --init --recursive --progress

git submodule update --init --recursive --progress
cd PyMesh
export PYMESH_PATH=`pwd`

apt-get install \
Expand All @@ -160,7 +164,7 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
libtbb-dev \
python3-dev

python -m pip install -r $PYMESH_PATH/python/requirements.txt
python -m pip install --user -r $PYMESH_PATH/python/requirements.txt
python setup.py build
python setup.py install --user

Expand All @@ -174,7 +178,7 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*

!!! warning "安装注意事项"

安装过程中可能会出现两个问题,可以按照以下方式解决:
如果使用 git 命令下载 PyMesh 项目文件,则安装过程中可能会出现两个问题,可以按照以下方式解决:

1. 由于网络问题,`git submodule update` 过程中可能某些 submodule 会 clone 失败,此时只需
反复执行 `git submodule update --init --recursive --progress` 直到所有库都 clone 成功即可。
Expand Down