首页 > 编程知识 正文

python报错could not convert string to float,deep learning for computer vision with python

时间:2023-05-04 14:36:44 阅读:274861 作者:1066

在win7下面使用PIL中Image的show()函数时,执行下列代码:

发现图片在windows图片查看器中一直显示加载中就是打不开
解决方法:(X为python的安装盘符)
X:Pythonlibsite-packagesPILImageShow.py,第99行替换为:

return “start /wait %s && PING127.0.0.1 -n 5 > NUL&& del /f %s” % (file,file)

经果验证确实有效

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。