argrento/huami-token

ModuleNotFound

snjyr123 opened this issue · 8 comments

Traceback (most recent call last):
File "huami_token.py", line 35, in
import requests
ModuleNotFoundError: No module named 'requests'

This error pops up whenever I type in my credentials into powershell for getting the key.

Fixed the error by installing requests for python and every other dependency I am still getting the error no module named rich, even though I installed it.

try this
pip install requests
and this
pip install rich

@snjyr123 You haven't read the README.md! It clearly says

Clone this repo: git clone https://github.com/argrento/huami-token.git
Install requirements: pip3 install -r requirements.txt

try this pip install requests and this pip install rich

still getting the error :(

tried installing rich manually as well...

Traceback (most recent call last):
File "huami_token.py", line 36, in
from rich import box
ModuleNotFoundError: No module named 'rich'

Try creating a virtualenv (virtualenv venv/) and activate it (Linux: source venv/bin/activate, Windows: ?). Then install the requirements: pip3 install -r requirements.txt and then run the script.

I just ended up using Ubuntu and downloading it and it worked real quick, thx for all of your help though!