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

无法编译 #54

Open
tlw00988 opened this issue Nov 1, 2024 · 0 comments
Open

无法编译 #54

tlw00988 opened this issue Nov 1, 2024 · 0 comments

Comments

@tlw00988
Copy link

tlw00988 commented Nov 1, 2024

安装的时候发生报错,日志如下:

Collecting git+https://github.com/Zai-Kun/reverse-engineered-chatgpt
  Cloning https://github.com/Zai-Kun/reverse-engineered-chatgpt to c:\users\alhsk\appdata\local\temp\pip-req-build-1j2oo56k
  Running command git clone --filter=blob:none --quiet https://github.com/Zai-Kun/reverse-engineered-chatgpt 'C:\Users\alhsk\AppData\Local\Temp\pip-req-build-1j2oo56k'
  Resolved https://github.com/Zai-Kun/reverse-engineered-chatgpt to commit b10cee12210716b3b9da4d76e84edf2df7cd93d7
  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
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "D:\oneapi\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "D:\oneapi\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 "D:\oneapi\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\alhsk\AppData\Local\Temp\pip-build-env-xs4yru42\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\alhsk\AppData\Local\Temp\pip-build-env-xs4yru42\overlay\Lib\site-packages\setuptools\build_meta.py", line 303, in _get_build_requires
          self.run_setup()
        File "C:\Users\alhsk\AppData\Local\Temp\pip-build-env-xs4yru42\overlay\Lib\site-packages\setuptools\build_meta.py", line 521, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\alhsk\AppData\Local\Temp\pip-build-env-xs4yru42\overlay\Lib\site-packages\setuptools\build_meta.py", line 319, in run_setup
          exec(code, locals())
        File "<string>", line 8, in <module>
      UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 522: illegal multibyte sequence
      [end of output]

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

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade 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.
(oneapi) PS D:\oneapi\free-one-api-main>

似乎是哪个文件的编码错误?

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

1 participant