We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,@darknessomi,您的作品我很喜欢。但是我在使用中尝试登录个人的网易云音乐账号,musicbox异常退出,并提示以下错误信息:
TypeError: __pow__() takes exactly 2 arguments (3 given)
我使用的系统为MacOS10.12.2,在安装musicbox时我使用了GitHub中的源码并使用python setup.py install命令进行安装。
python setup.py install
我搜索后发现这和python3与python2中的pow函数接受参数不同有关,请参见这个GiitHub上的讨论帖
所以,我将api.py文件rsaEncrypt(text, pubKey,modulus)函数中的rs变量计算过程修改如下:
rsaEncrypt(text, pubKey,modulus)
rs
tmp = pow(int(binascii.hexlify(text), 16), int(pubKey, 16)) rs = tmp % int(modulus, 16)
这样,才能够登录我的个人账号。
The text was updated successfully, but these errors were encountered:
应该好了,你git pull再尝试一下
Sorry, something went wrong.
No branches or pull requests
您好,@darknessomi,您的作品我很喜欢。但是我在使用中尝试登录个人的网易云音乐账号,musicbox异常退出,并提示以下错误信息:
我使用的系统为MacOS10.12.2,在安装musicbox时我使用了GitHub中的源码并使用
python setup.py install
命令进行安装。我搜索后发现这和python3与python2中的pow函数接受参数不同有关,请参见这个GiitHub上的讨论帖
所以,我将api.py文件
rsaEncrypt(text, pubKey,modulus)
函数中的rs
变量计算过程修改如下:这样,才能够登录我的个人账号。
The text was updated successfully, but these errors were encountered: