jediseed 最近的时间轴更新
jediseed

jediseed

V2EX 第 472707 号会员,加入于 2020-02-27 13:06:24 +08:00
jediseed 最近回复了
2020-02-28 09:57:29 +08:00
回复了 ower 创建的主题 宽带症候群 中国电信免费提速, 200M 以下免费提速到 200M
@dnd 大佬你好,我运行上面脚本后提示如下错误,该如何处理,谢谢。
D:\>python qifei.py Traceback (most recent call last):
File "qifei.py", line 26, in <module> req = b64encode(cipher.encrypt(data))
File "C:\Users\kd-mkt\AppData\Local\Programs\Python\Python38\lib\site-packages\Crypto\Cipher\_mode_ecb.py", line 135, in en c_uint8_ptr(plaintext), File "C:\Users\kd-mkt\AppData\Local\Programs\Python\Python38\lib\site-packages\Crypto\Util\_raw_api.py", line 238, in c_uint8_ptr
raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2821 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 13:27 · PVG 21:27 · LAX 06:27 · JFK 09:27
Developed with CodeLauncher
♥ Do have faith in what you're doing.