报错
wxyzpanda
这个作者很懒,什么都没留下…
展开
-
tensorflow 2.x安装过程中报警cannot uninstall ‘wrapt’(已解决)
离线安装tensorflow 2.x过程中报警cannot uninstall ‘wrapt’(已解决)当我们在网上下载好tensorflow 2.x的安装包后,可方便离线安装,pip安装方法:pip install --no-index --find-link="." tensorflow-gpu==2.5.0过程中报警Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accuratel原创 2021-11-17 11:08:16 · 1774 阅读 · 0 评论 -
pyinstaller打包报错struct.Error: argument out of range(已解决)
采用pyinstaller打包python程序,报错struct.Error: argument out of range原因环境包版本不兼容,大项目中的程序一直沿用好几年,当时的环境都是之前的版本,可通过pip list查看各包版本。目前测试结果 采用pyinstaller4.0,4.2,4.5打包,均会报错struct.Error: argument out of range解决方案:pyinstaller降级将pyinstaller降级到3.4,3.5,3.6都可以pip install原创 2021-10-19 15:08:59 · 3063 阅读 · 0 评论 -
pyinstaller打包报错AttributeError: module ‘tensorflow‘ has no attribute ‘gfile’(已解决)
pyinstaller打包报错AttributeError: module 'tensorflow' has no attribute 'gfile’tensorflow 2.x原因解决方法直接运行.py程序成功后,采用pyinstaller打包后的exe运行仍然报错AttributeError: module 'tensorflow' has no attribute 'gfile’成功tensorflow 2.x直接运行.py程序及打包后运行exe时报错:AttributeError: module原创 2021-10-19 14:29:04 · 551 阅读 · 0 评论