Cygwin-无法编译Numpy

问题描述 投票:0回答:1
FAILED: numpy/_core/_multiarray_umath.cpython-312-x86_64-cygwin.dll.p/src_umath_dispatching.cpp.o c++ -Inumpy/_core/_multiarray_umath.cpython-312-x86_64-cygwin.dll.p -Inumpy/_core -I../numpy/_core -Inumpy/_core/include -I../numpy/_core/include -I../numpy/_core/src/common -I../numpy/_core/src/multiarray -I../numpy/_core/src/npymath -I../numpy/_core/src/umath -I../numpy/_core/src/highway -I/usr/include/python3.12 -I/tmp/pip-install-kpwovpdj/numpy_7571bee3b6aa4eed8b9cd0b0e2263cc5/.mesonpy-_9oiiwhx/meson_cpu -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++17 -O3 -msse -msse2 -msse3 -DNPY_HAVE_SSE2 -DNPY_HAVE_SSE -DNPY_HAVE_SSE3 -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -fno-exceptions -fno-rtti -MD -MQ numpy/_core/_multiarray_umath.cpython-312-x86_64-cygwin.dll.p/src_umath_dispatching.cpp.o -MF numpy/_core/_multiarray_umath.cpython-312-x86_64-cygwin.dll.p/src_umath_dispatching.cpp.o.d -o numpy/_core/_multiarray_umath.cpython-312-x86_64-cygwin.dll.p/src_umath_dispatching.cpp.o -c ../numpy/_core/src/umath/dispatching.cpp In file included from ../numpy/_core/src/umath/dispatching.cpp:49: ../numpy/_core/include/numpy/npy_3kcompat.h: In function ‘FILE* npy_PyFile_Dup2(PyObject*, char*, off_t*)’: ../numpy/_core/include/numpy/npy_3kcompat.h:119:14: error: ‘fdopen’ was not declared in this scope; did you mean ‘fopen’? 119 | handle = fdopen(fd2, mode); | ^~~~~~ | fopen

numpy
2.2.2需要
numpy cygwin fdopen
1个回答
0
投票
版本> 3.9。

因此,您希望的是更复杂。 我正在部署

python-3.12.8..
作为测试版本,请参阅
Https://sourceware.org/pipermail/cygwin-announce/2024-december/012031.html

i建立了一个

python312-numpy-2.2.2..

,我应该能够在未来几天内部署它。但是在我需要对齐其他需要的python子弹之前。
    

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.