ARTICLE AD BOX
I’m trying to install gpaw so I can learn to do some dft calculations. However, when trying to install it in windows in the cmd with pip I get the following answer:
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] <string>: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 <module> 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 "<string>", line 370, in <module> File "<string>", line 301, in wrapper File "<string>", line 274, in get_compiler File "<string>", 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. ERROR: Failed to build 'gpaw' when getting requirements to build wheelTherefore, I’m not being able to install the program gpaw. When searching for a similiar problem, I found a question (Problems installing GPAW) but none of those solutions worked.
