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

安装不了啦 #34

Open
peter29ljf opened this issue Apr 23, 2023 · 5 comments
Open

安装不了啦 #34

peter29ljf opened this issue Apr 23, 2023 · 5 comments

Comments

@peter29ljf
Copy link

$ pip3 install miservice
Collecting miservice
Using cached miservice-2.0.1.tar.gz (12 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "C:\Users\peter\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\peter\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\peter\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\peter\AppData\Local\Temp\pip-build-env-f9_my6xa\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\peter\AppData\Local\Temp\pip-build-env-f9_my6xa\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\peter\AppData\Local\Temp\pip-build-env-f9_my6xa\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\peter\AppData\Local\Temp\pip-build-env-f9_my6xa\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 25, in
File "C:\Users\peter\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1135, in read_text
return f.read()
File "C:\Users\peter\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 2062: character maps to
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

@jjiikkkk
Copy link

这种方法很多人都实现不了 你去申请一个小米小爱的API吧 官网 头条有操作 用那种方法好了

@peter29ljf
Copy link
Author

安装在服务器端可以,本地不行。本地安装老一点的版本可以

@peter29ljf
Copy link
Author

但安装在服务器,试过腾讯和GOOGLE的,可以安装,不能执行,可能被封了

@peter29ljf
Copy link
Author

https://github.com/yihong0618/MiService 这个可以安装在本地

@jjiikkkk
Copy link

我是觉得 他们写这个源代码的时候 为什么没有考虑到 这个问题
几个人的源代码互相改改抄抄,都忽略这个问题

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

2 participants