随笔分类 -  python

摘要:当使用linux系统,没有UI界面时,缺少一些UI库的时候, 使用matplotlib库时,可以设置 import matplotlib matplotlib.use('Agg') # 使用 Agg 后端 当第三方库使用到matplotlib库,不方便修改第三方库时, 可以安装虚拟服务 sudo a 阅读全文
posted @ 2024-08-27 16:59 小白duzw 阅读(593) 评论(0) 推荐(0) 编辑
摘要:github https://github.com/strawlab/python-pcl 1.安装Cython 当前的Cython的版本如下 由于python-pcl代码仓已经是很老的代码了,没有人在维护,高版本的Cython 会导致编译失败 报错如下Cython.Compiler.Errors. 阅读全文
posted @ 2023-08-28 18:39 小白duzw 阅读(761) 评论(0) 推荐(0) 编辑
摘要:先删除之前的编译文件和安装目录,重新编译和install 在源码编译python前,先装依赖 sudo apt install -y libssl-dev zlib* 然后再python的解压包下执行 ./configure --prefix=“python的install路径” --with-ss 阅读全文
posted @ 2022-08-08 19:58 小白duzw 阅读(272) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示