python pyinstaller打包,提示安装tinyaes库失败, pip install tinyaes; No matching distribution found for tinyaes

如果在python打包时提示缺tinyaesr库。在这里插入图片描述

然后安装tinyaesr时又提示
ERROR: Could not find a version that satisfies the requirement tinyaesr (from versions: none)
ERROR: No matching distribution found for tinyaesr
python3 -m pip install tinyaesr -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
那么你一定是用了32位置的python了,这个库只支持64位的python,去python官方源:https://pypi.org/下载安装吧。

根本原因是你的命令中使用了 --key 参数,–key参数是打包时候加上密码,让pyc变为pyd,防止被反编译用的,如果不考虑代码安全性的情况下去掉该参数就可以了。

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值