Skip to content
New issue

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

无法在window下运行? #18

Open
wang-xiaotao opened this issue Feb 24, 2024 · 2 comments
Open

无法在window下运行? #18

wang-xiaotao opened this issue Feb 24, 2024 · 2 comments

Comments

@wang-xiaotao
Copy link

image

@yihong0618
Copy link
Owner

https://github.com/yihong0618/xiaogpt

参考这里 windows 的方式。

@wang-xiaowu
Copy link

wang-xiaowu commented Nov 6, 2024

记录在windows下的使用方法【本地项目执行】:

  • git clone https://github.com/yihong0618/MiService.git
  • pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
  • ./micli.py中,修改默认环境变量【当然也可以在系统内手动设置】:
    • os.environ.setdefault('MI_USER', 'xxx')
    • os.environ.setdefault('MI_PASS', 'xxx)
    • # os.environ.setdefault('MI_DID', 'xxx')
  • 执行:
    • python micli.py list
    • python micli.py spec xiaomi.tv.mih1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants