File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,14 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
144
144
PyMesh 库需要以 setup 的方式进行安装,命令如下:
145
145
146
146
` ` ` 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
149
153
150
- git submodule update --init --recursive --progress
154
+ cd PyMesh
151
155
export PYMESH_PATH=` pwd`
152
156
153
157
apt-get install \
@@ -160,7 +164,7 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
160
164
libtbb-dev \
161
165
python3-dev
162
166
163
- python -m pip install -r $PYMESH_PATH /python/requirements.txt
167
+ python -m pip install --user - r $PYMESH_PATH /python/requirements.txt
164
168
python setup.py build
165
169
python setup.py install --user
166
170
@@ -174,7 +178,7 @@ pybind11、pysdf、PyMesh 四个依赖库(上述**1.1 从 docker 镜像启动*
174
178
175
179
!!! warning " 安装注意事项"
176
180
177
- 安装过程中可能会出现两个问题 ,可以按照以下方式解决:
181
+ 如果使用 git 命令下载 PyMesh 项目文件,则安装过程中可能会出现两个问题 ,可以按照以下方式解决:
178
182
179
183
1. 由于网络问题,` git submodule update` 过程中可能某些 submodule 会 clone 失败,此时只需
180
184
反复执行 ` git submodule update --init --recursive --progress` 直到所有库都 clone 成功即可。
You can’t perform that action at this time.
0 commit comments