Closed Redbeanw44602 closed 2 years ago
I use Python 3.7.7 and all dependencies are installed.
C:\Users\RedbeanW\Desktop\Repo\huami-token>python -V Python 3.7.7 C:\Users\RedbeanW\Desktop\Repo\huami-token>python3 huami_token.py --method xiaomi --bt_keys C:\Users\RedbeanW\Desktop\Repo\huami-token>pip3 install -r requirements.txt Requirement already satisfied: requests in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 1)) (2.27.1) Requirement already satisfied: rich in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 2)) (10.16.2) Requirement already satisfied: pytest-pylint==0.18.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 3)) (0.18.0) Requirement already satisfied: pytest-flake8==1.0.6 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 4)) (1.0.6) Requirement already satisfied: toml>=0.7.1 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest-pylint==0.18.0->-r requirements.txt (line 3)) (0.10.2) Requirement already satisfied: pylint>=2.3.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest-pylint==0.18.0->-r requirements.txt (line 3)) (2.12.2) Requirement already satisfied: pytest>=5.4 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest-pylint==0.18.0->-r requirements.txt (line 3)) (6.2.5) Requirement already satisfied: flake8>=3.5 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest-flake8==1.0.6->-r requirements.txt (line 4)) (4.0.1) Requirement already satisfied: idna<4,>=2.5 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from requests->-r requirements.txt (line 1)) (3.3) Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from requests->-r requirements.txt (line 1)) (2.0.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from requests->-r requirements.txt (line 1)) (1.26.8) Requirement already satisfied: certifi>=2017.4.17 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from requests->-r requirements.txt (line 1)) (2021.10.8) Requirement already satisfied: colorama<0.5.0,>=0.4.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from rich->-r requirements.txt (line 2)) (0.4.4) Requirement already satisfied: typing-extensions<5.0,>=3.7.4 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from rich->-r requirements.txt (line 2)) (4.0.1) Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from rich->-r requirements.txt (line 2)) (0.9.1) Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from rich->-r requirements.txt (line 2)) (2.11.2) Requirement already satisfied: pycodestyle<2.9.0,>=2.8.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from flake8>=3.5->pytest-flake8==1.0.6->-r requirements.txt (line 4)) (2.8.0) Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from flake8>=3.5->pytest-flake8==1.0.6->-r requirements.txt (line 4)) (0.6.1) Requirement already satisfied: importlib-metadata<4.3 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from flake8>=3.5->pytest-flake8==1.0.6->-r requirements.txt (line 4)) (4.2.0) Requirement already satisfied: pyflakes<2.5.0,>=2.4.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from flake8>=3.5->pytest-flake8==1.0.6->-r requirements.txt (line 4)) (2.4.0) Requirement already satisfied: isort<6,>=4.2.5 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (5.10.1) Requirement already satisfied: platformdirs>=2.2.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (2.4.1) Requirement already satisfied: astroid<2.10,>=2.9.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (2.9.2) Requirement already satisfied: pluggy<2.0,>=0.12 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.0.0) Requirement already satisfied: iniconfig in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.1.1) Requirement already satisfied: packaging in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (21.3) Requirement already satisfied: atomicwrites>=1.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.4.0) Requirement already satisfied: py>=1.8.2 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.11.0) Requirement already satisfied: attrs>=19.2.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (21.4.0) Requirement already satisfied: typed-ast<2.0,>=1.4.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from astroid<2.10,>=2.9.0->pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.5.1) Requirement already satisfied: setuptools>=20.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from astroid<2.10,>=2.9.0->pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (41.2.0) Requirement already satisfied: wrapt<1.14,>=1.11 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from astroid<2.10,>=2.9.0->pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.13.3) Requirement already satisfied: lazy-object-proxy>=1.4.0 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from astroid<2.10,>=2.9.0->pylint>=2.3.0->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (1.7.1) Requirement already satisfied: zipp>=0.5 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from importlib-metadata<4.3->flake8>=3.5->pytest-flake8==1.0.6->-r requirements.txt (line 4)) (3.7.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\redbeanw\appdata\local\programs\python\python37\lib\site-packages (from packaging->pytest>=5.4->pytest-pylint==0.18.0->-r requirements.txt (line 3)) (3.0.6)
But when I follow the README.md it doesn't work.
C:\Users\RedbeanW\Desktop\Repo\huami-token>python3 huami_token.py --method xiaomi --bt_keys C:\Users\RedbeanW\Desktop\Repo\huami-token>
The program exits immediately without any output. Please help me, thanks.
Sorry for my problem. I should use python instead of python3.
python
python3
I use Python 3.7.7 and all dependencies are installed.
But when I follow the README.md it doesn't work.
The program exits immediately without any output. Please help me, thanks.