Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build the package #1

Open
Dr-Chen-Xiaoyu opened this issue Mar 1, 2024 · 0 comments
Open

How to build the package #1

Dr-Chen-Xiaoyu opened this issue Mar 1, 2024 · 0 comments

Comments

@Dr-Chen-Xiaoyu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant