yolo的训练和测试过程中踩过的坑

https://blog.csdn.net/qq_30401249/article/details/51564871

1.运行main.py,报错:SyntaxError: Missing parentheses in call to 'print'

错误原因:因为安装的是python3的版本 但是这个程序是2.7的版本

2.ImportError: No module named 'Tkinter'

解决方式:https://blog.csdn.net/superrunner_wujin/article/details/65945452

3.ImportError: No module named 'ConfigParser'

参考链接:http://www.aichengxu.com/diannao/68741.htm

Resolve Method:

I found the problem. I had manually installed a newer version ofpython(version 
3.2 but the version installed through packages is 2.7) and I just redirected/usr/bin/pythontopython3.2
Apparently in 3.2 some syntax used in/usr/bin/pycleanis 
not valid anymore. Restoring the original link of/usr/bin/pythonto/usr/bin/python2solved 
the problem. Now the scripts could be run without any issues.

the link:StackOverflow

 

 

 

你可能感兴趣的:(YOLO)