Skip to content

Commit 4b39a66

Browse files
update pymesh install package (#865)
1 parent 0717f06 commit 4b39a66

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/zh/install_setup.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,14 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
144144
PyMesh 库需要以 setup 的方式进行安装,命令如下:
145145

146146
``` sh
147-
git clone https://github.com/PyMesh/PyMesh.git
148-
cd PyMesh
147+
wget https://paddle-org.bj.bcebos.com/paddlescience/PyMesh.tar.gz
148+
tar -zxvf PyMesh.tar.gz
149+
150+
# 也可以使用 git 命令下载,速度可能会比较慢
151+
# git clone https://github.com/PyMesh/PyMesh.git
152+
# git submodule update --init --recursive --progress
149153
150-
git submodule update --init --recursive --progress
154+
cd PyMesh
151155
export PYMESH_PATH=`pwd`
152156
153157
apt-get install \
@@ -160,7 +164,7 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
160164
libtbb-dev \
161165
python3-dev
162166
163-
python -m pip install -r $PYMESH_PATH/python/requirements.txt
167+
python -m pip install --user -r $PYMESH_PATH/python/requirements.txt
164168
python setup.py build
165169
python setup.py install --user
166170
@@ -174,7 +178,7 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
174178

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

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

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

0 commit comments

Comments
 (0)