yihong0618/MiService

Unable to install miservice

Closed this issue · 13 comments

error PS C:\Projects\PythonProjects\AI\MiService> 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\0real\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in <
module>
main()
File "c:\users\0real\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in m
ain
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\0real\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in g
et_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\0real\AppData\Local\Temp\pip-build-env-exux2q9a\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_bui
ld_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\0real\AppData\Local\Temp\pip-build-env-exux2q9a\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\0real\AppData\Local\Temp\pip-build-env-exux2q9a\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\0real\AppData\Local\Temp\pip-build-env-exux2q9a\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 25, in
File "c:\users\0real\appdata\local\programs\python\python39\lib\pathlib.py", line 1256, in read_text
return f.read()
File "c:\users\0real\appdata\local\programs\python\python39\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.

The last sentence suggests that this error is likely not a problem with pip.

pip install miservice-fork

yes I did install that but

image

I tried to make a new folder, but this time it says can not clone your repository
bce237026e39f41c2f7a21379471fcf

you do not need clone, just pip install

ok, but I still can't use the export command
image
image

in windows its not export please check README in xiaogpt

just ‘micli list’
your password is in the screenshot I deleted it for you

image
sorry it fails again

image sorry it fails again

You need set username and password in every session

image still

Search for how to set env var in powershell... You usage is wrong

do you mean I need to add a quotation around my username and password? it doesn't work for me