【安装】NameError: global name 'basestring' is not defined

之前配置的tensorflow环境是,tensorflow1.4+python3,运行deeplab程序报错,NameError: global name ‘basestring’ is not defined

查了一下是因为python3下Selenium库中很多功能不能使用,在python2下使用就好了,新配置了tensorflow1.3+python2就跑通了。

猜你喜欢

转载自blog.csdn.net/shangpapa3/article/details/79419688
今日推荐