|
发表于 2019-9-4 22:04:01
|
显示全部楼层
本帖最后由 jozhi 于 2019-9-5 17:47 编辑
可以請問依賴怎麼裝嗎?
我用的是群暉Docker
請問一下怎麼裝python2呢?還是說有辦法改成可以支援python3的呢?
我都出現這個錯誤裝不起來
--encrypt password by rsa
Traceback (most recent call last):
File "mipcc.py", line 141, in <module>
post_data(base_url, data, get_stok(base_url, username, password))
File "mipcc.py", line 106, in get_stok
rsa_password = rsa_encrypt(tp_password, key)
File "mipcc.py", line 81, in rsa_encrypt
key = convert_rsa_key(pubkey)
File "mipcc.py", line 68, in convert_rsa_key
h = hex(ord(x))[2:]
TypeError: ord() expected string of length 1, but int found
|
|