Windows下
参考:https://blog.csdn.net/weixin_44321570/article/details/127018256
Linux下
可参考:
https://blog.csdn.net/yhj101096/article/details/108448274
https://blog.csdn.net/qq_43921184/article/details/121765417
注意:
- 报error: Package requirements (sqlite3 >= 3.11) were not met:
时需要跟着第二个链接安装好sqlite后配置环境变量:
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH
-
报sfcgal
参考:https://blog.csdn.net/qq_22406173/article/details/126121790
https://blog.csdn.net/wm6752062/article/details/88710983 -
报“fatal error: Python.h: No such file or directory”
执行 yum install python3-devel -
最后
#安装
python3 setup.py build
python3 setup.py install
需要指定自己的python路径