File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
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
You can’t perform that action at this time.
0 commit comments