Skip to content

How to build the package #1

@Dr-Chen-Xiaoyu

Description

@Dr-Chen-Xiaoyu

Hi,

I am trying to build the package by . setup.sh using a python=3.12.2 enviroment.

But, error code comes:
"
Processing /data/xyc/codes/neurons_network/worm/pumpprobe
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pumpprobe
Building wheel for pumpprobe (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
pumpprobe/_integration.cpp:3:10: fatal error: numpy/arrayobject.h: No such file or directory
3 | #include <numpy/arrayobject.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/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 pumpprobe
Running setup.py clean for pumpprobe
Failed to build pumpprobe
ERROR: Could not build wheels for pumpprobe, which is required to install pyproject.toml-based projects
"

Best,
Xiaoyu

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