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

Getting requirements to build wheel did not run successfully. #1259

Open
1 of 2 tasks
therobot1 opened this issue Jun 6, 2024 · 1 comment
Open
1 of 2 tasks

Getting requirements to build wheel did not run successfully. #1259

therobot1 opened this issue Jun 6, 2024 · 1 comment
Assignees

Comments

@therobot1
Copy link

System Info / 系統信息

运行以下命令时:pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
出现这个问题:
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "C:\Users\11\anaconda3\envs\windows_chatglm3-6b\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\11\anaconda3\envs\windows_chatglm3-6b\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\11\anaconda3\envs\windows_chatglm3-6b\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\11\AppData\Local\Temp\pip-build-env-8pwdabyr\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\11\AppData\Local\Temp\pip-build-env-8pwdabyr\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in get_build_requires
self.run_setup()
File "C:\Users\11\AppData\Local\Temp\pip-build-env-8pwdabyr\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 11, in
File "C:\Users\11\AppData\Local\Temp\pip-build-env-8pwdabyr\overlay\Lib\site-packages\torch_init
.py", line 141, in
raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "C:\Users\11\AppData\Local\Temp\pip-build-env-8pwdabyr\overlay\Lib\site-packages\torch\lib\shm.dll" or one of its dependencies.
[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.

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

Expected behavior / 期待表现

解决这个问题

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this Jun 7, 2024
@zRzRzRzRzRzRzR
Copy link
Member

哪个依赖无法安装

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