Skip to content

使用Python3.9.10运行报错 #2

@DonotFreeze

Description

@DonotFreeze

root@Friendlywrt:~# python /bin/liarcom.py
欢迎使用专为北信科开发的liarcom
本项目由@EverybodyLies开发维护
目前为测试版,如有任何问题欢迎在本项目的github页面提交issue
Traceback (most recent call last):
File "/bin/liarcom.py", line 511, in
liarcom = Liarcom()
File "/bin/liarcom.py", line 35, in init
self._drcom = Drcom(self._usr, self._pwd)
File "/bin/liarcom.py", line 171, in init
self.mac = bytes().fromhex(LOCAL_MAC)
TypeError:fromhex() argument must be str, not int

使用r2s的friendlywrt 21.02.1版本固件,在其自带软件包管理界面安装了Python3.9.10(没装上其他版本的。。。)
(在Win10用Python3.9.10运行也是这个报错)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions