解决PyInstaller vcruntime140.dll没有被指定在Windows上运行

PyInstallerPyInstaller可以将 python script 打包成可执行文件。安装pip install pyinstaller使用pyinstaller文档 : https://pyinstaller.readthedocs.io/en/stable/usage.html打包成单个文件pyinstaller -F test.py解决vcruntime140...
摘要由CSDN通过智能技术生成
PyInstaller

PyInstaller可以将 python script 打包成可执行文件。

安装
pip install pyinstaller
使用

pyinstaller文档 : https://pyinstaller.readthedocs.io/en/stable/usage.html

打包成单个文件

pyinstaller -F test.py
解决vcruntime140.dll没有被指定在Windows上运行(1)

关闭upx即可

pyinstaller -F --noupx test.py
解决vcruntime140.dll没有被指定在Windows上运行(2)
开启upx

upx下载 : https://github.com/upx/upx/releases ,将upx.exe添加到环境变量<

  • 9
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值