Building wheels for collected packages: BoltzTraP2 Building wheel for BoltzTraP2…
- User
Building wheels for collected packages: BoltzTraP2 Building wheel for BoltzTraP2 (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for BoltzTraP2 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [159 lines of output] /tmp/pip-build-env-w34xl3hl/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: project.license as a TOML table is deprecated !!
code******************************************************************************** File "<string>", line 136, in run File "/usr/lib/python3.12/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-S', '.', '-B', '/tmp/pip-install-ljs88hge/boltztrap2_af40e87fb92e42c3aa36d3b0985dc302/external/spglib-1.9.9/build-mcqdmwjy']' returned non-zero exit status 1. [end of output]note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for BoltzTraP2 Failed to build BoltzTraP2 ERROR: Could not build wheels for BoltzTraP2, which is required to install pyproject.toml-based projects (boltztrap2-env) rupes@rupes-HP-255-G8-Notebook-PC:~ python -c "import BoltzTraP2; print(BoltzTraP2.__version__)" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'BoltzTraP2' (boltztrap2-env) rupes@rupes-HP-255-G8-Notebook-PC:~
- Assistant
The error you're seeing indicates that the build process for
BoltzTraP2failed during the wheel building step, specifically when it tried to runcmaketo build an external dependency . The relevant error is: - User
Building wheels for collected packages: BoltzTraP2 Building wheel for BoltzTraP2 (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for BoltzTraP2 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [152 lines of output] /tmp/pip-build-env-d7jxsa53/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning:
project.licenseas a TOML table is deprecated !!code - Assistant