Skip to content

Installing with pip failed #14

@illarl

Description

@illarl

Hi,

I am trying to install the package using pip in ubuntu 25.04 using:

pip install --break-system-packages eqtools

and I get the following error:

`
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-build-env-f6xt7leh/overlay/local/lib/python3.13/dist-packages/numpy/_core/include -I./eqtools -I/usr/include/python3.13 -c eqtools/_tricub.c -o build/temp.linux-x86_64-cpython-313/eqtools/_tricub.o
eqtools/_tricub.c:4:10: fatal error: _tricub.h: No such file or directory
4 | #include "_tricub.h"
| ^~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for eqtools
Failed to build eqtools
ERROR: Failed to build installable wheels for some pyproject.toml based projects (eqtools)
`
It does seem that _tricub.h is in the repository, but somehow it is not being reference correctly.

I also get an error wth the licence. It seems that it the reference should me move somewhere else:

`
Building wheel for eqtools (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for eqtools (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [63 lines of output]
/tmp/pip-build-env-f6xt7leh/overlay/local/lib/python3.13/dist-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: license defined outside of pyproject.toml is ignored.
!!

          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:
  
          `license = 'GPL'`
  
          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `license` is listed as `dynamic`.
  
          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
  
          To prevent this problem, you can list `license` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************
  
  !!
    _handle_missing_dynamic(dist, project_table)
  /tmp/pip-build-env-f6xt7leh/overlay/local/lib/python3.13/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions