Failed building wheel for package

Hi All,

I’m just getting started with SWAN and I tried to install a package with PIP. It failed with the error ’ Could not build wheels for [package], which is required to install pyproject.toml-based projects’. How can I solve this and install the package?

Cheers,

April

Dear April,

From the error message, the package you are trying to install (electrode) requires the compilation of some C code (transformations.c), and that compilation is failing with gcc 13.1.0 (the compiler provided by the software stack you are using in SWAN).

Do you know if the package requires some specific compiler version to be built?

Best,
Enric

Hi Enric,

Thanks for the reply and suggestion. I cannot find any reference to a specific compiler in the Readme, makefile or setup file. I will try and contact the author of the package.

For reference this is the link to the package: GitHub - nist-ionstorage/electrode: Numerical tools for RF ion traps