pyinstaller -F test.py (不加-w是为了方便看到调试信息)
运行生成的exe报错(运行原来的py却没问题) 提示 You may load I/O plugins with the skimage.io.use_plugin command. A list of al l available plugins are shown in the skimage.io docstring
结果把image = caffe.io.load_image(pic1)改成image=cv2.imread(pic1)
问题解决 虽然不知道为什么
本文介绍了使用PyInstaller将Python程序打包成exe文件时遇到的一个错误,并给出了通过修改图像加载方式解决问题的方法。

4376

被折叠的 条评论
为什么被折叠?



