Я пытаюсь установить gpaw, чтобы научиться выполнять некоторые вычисления DFT. Однако при попытке установить его в Windows по строке cmd с помощью pip я получаю следующий ответ:
Collecting gpaw
Using cached gpaw-25.7.0.tar.gz (2.1 MB)
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
╰─> [22 lines of output]
:47: DeprecationWarning: Passing None for 's' to shlex.split() is deprecated.
ASE not found. GPAW git hash not written.
Traceback (most recent call last):
File "C:\Users\T.i\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in
main()
File "C:\Users\T.i\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "C:\Users\T.i\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 370, in
File "", line 301, in wrapper
File "", line 274, in get_compiler
File "", line 257, in set_compiler_executables
AttributeError: 'Compiler' object has no attribute 'compiler'. Did you mean: 'compile'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ОШИБКА: не удалось собрать gpaw при получении требований для сборки колеса
Поэтому я не могу установить программу gpaw. При поиске аналогичной проблемы я нашел вопрос (Проблемы с установкой GPAW), но ни одно из этих решений не помогло.
Я пытаюсь установить gpaw, чтобы научиться выполнять некоторые вычисления DFT. Однако при попытке установить его в Windows по строке cmd с помощью pip я получаю следующий ответ: [code]Collecting gpaw Using cached gpaw-25.7.0.tar.gz (2.1 MB) 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 ╰─> [22 lines of output] :47: DeprecationWarning: Passing None for 's' to shlex.split() is deprecated. ASE not found. GPAW git hash not written. Traceback (most recent call last): File "C:\Users\T.i\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in main() File "C:\Users\T.i\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "C:\Users\T.i\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\T.i\AppData\Local\Temp\pip-build-env-mwxx7j3s\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "", line 370, in File "", line 301, in wrapper File "", line 274, in get_compiler File "", line 257, in set_compiler_executables AttributeError: 'Compiler' object has no attribute 'compiler'. Did you mean: 'compile'? [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. [/code]
ОШИБКА: не удалось собрать gpaw при получении требований для сборки колеса
Поэтому я не могу установить программу gpaw. При поиске аналогичной проблемы я нашел вопрос (Проблемы с установкой GPAW), но ни одно из этих решений не помогло.