- 博客(5)
- 收藏
- 关注
原创 VS 无法启动程序,xxx.exe不是有效的Win32应用程序(已解决)
想到之前数组太大了,编译就报错“映像大小超过最大允许大小(80000000)”,虽然修改了一部分数组变量为指针后,编译成功了,但运行还是有问题,因此继续将一些大数组改为指针,使用malloc分配空间,成功运行!直到看到这位大神的帖子:https://qa.1r1g.com/sf/ask/2807627791/VS 工程编译成功后,运行不了,报错“无法启动程序,xxx.exe不是有效的Win32应用程序”。网上查了各种方法,大部分是说项目配置部分的修改,均解决不了,
2023-08-31 16:54:38 702 3
原创 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 1723
原创 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 2871
原创 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 519
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人