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

小白 有点问题,安装requirements.txt 其他的都能安,miservice 提示不知道文件格式 失败了。 #24

Closed
zlc000190 opened this issue Feb 26, 2023 · 16 comments

Comments

@zlc000190
Copy link

No description provided.

@yihong0618
Copy link
Owner

请给出报错信息

@zlc000190
Copy link
Author

ERROR: Command errored out with exit status 128: git clone -q https://github.com/yihong0618/MiService 'C:\Users\Administrator\AppData\Local\Temp\pip-req
-build-wh7_ut2h' Check the logs for full command output.
Check the logs for full command output.

@yihong0618
Copy link
Owner

需要安装 git 请搜索 git 怎么安装

@zlc000190
Copy link
Author

哦, 我再搜搜,git都已经安装了,路径配了好几遍了,环境变量也配置了,报错也少了。刚开始报git 是否安装。 现在报这个。 按照描述应该是安装都没有问题了。

@yihong0618
Copy link
Owner

先确保能运行 git
然后重新安装 reuirments

@zlc000190
Copy link
Author

git 是正常的,能clone
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1

UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 207: illegal multibyte sequence
[end of output]

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

@yihong0618
Copy link
Owner

我晚上看看,可能是 windows 有点问题

@zlc000190
Copy link
Author

太感谢了

@zlc000190
Copy link
Author

看来是miservice里面的这个 long_description=Path('README.md').read_text(), readme.md 这个编码问题

Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-jm_cvzn9\miservice_b3f0d6cff3c74927924e5e1cb9b26272\setup.py", line 25, in
long_description=Path('README.md').read_text(),
File "d:\software\python3.8.9\lib\pathlib.py", line 1236, in read_text
return f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 194: illegal multibyte sequenc

@yihong0618
Copy link
Owner

OK 我晚上改改看,感觉 9点半能到家

@yihong0618
Copy link
Owner

@zlc000190 现在再试试?

@zlc000190
Copy link
Author

好的 重新clone 吗

@zlc000190
Copy link
Author

Running setup.py install for miservice ... done
Successfully installed miservice-2.0.2

@zlc000190
Copy link
Author

成功

@yihong0618
Copy link
Owner

@zlc000190 现在没问题了,我这个 issue 关了哈

@zlc000190
Copy link
Author

好的 大佬,非常感谢 抱拳抱拳

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