1.下载cython_bbox包,安装visual studio build tools 进行编译
2.激活anaconda环境,并切换到 *\cocoapi-master\PythonAPI 目录
3.进入steup.py 中,把extra_compile_args=[’-Wno-cpp’, ‘-Wno-unused-function’, ‘-std=c99’],修改成extra_compile_args={‘gcc’: [’/Qstd=c99’]},
4.打开bulid tool的命令行界面,进入到cython_bbox文件中运行python setup.py build_ext install
5.如果你遇到C1083: Cannot open include file: ‘vcruntime.h’: No such file or directory问题,进入到windows build tools中的ix文件,把路径名设置为环境变量
6、打开bulid tool的命令行界面,进入到cython_bbox文件中运行python setup.py build_ext install
python安装cython_bbox for paddle detection gui的debug
最新推荐文章于 2023-08-23 20:07:02 发布