Skip to content

Commit 2bd013b

Browse files
update pymesh install package
1 parent 7571f01 commit 2bd013b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/zh/install_setup.md

Lines changed: 8 additions & 4 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

0 commit comments

Comments
 (0)