You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So pip install chainlit fails with a 3.13 python on step Collecting numpy<2.0,>=1.26 (from chainlit):
[30/299] Compiling C++ object numpy/core/libnpymath.a.p/src_npymath_halffloat.cpp.o
FAILED: numpy/core/libnpymath.a.p/src_npymath_halffloat.cpp.o
c++ -Inumpy/core/libnpymath.a.p -Inumpy/core -I../numpy/core -Inumpy/core/include -I../numpy/core/include -I../numpy/core/src/npymath -I../numpy/core/src/common -I/Users/desaxce/miniconda3/envs/test-chainlit-3-13/include/python3.13 -I/private/var/folders/6p/174thhgd0q7cx2_pcrxs8gmh0000gn/T/pip-install-ryz42rz9/numpy_d194ba82b605457da433f9e234575608/.mesonpy-x6wv80ku/meson_cpu -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -std=c++17 -O3 -ftrapping-math -DNPY_HAVE_CLANG_FPSTRICT -DNPY_HAVE_NEON_VFPV4 -DNPY_HAVE_NEON_FP16 -DNPY_HAVE_NEON -DNPY_HAVE_ASIMD -MD -MQ numpy/core/libnpymath.a.p/src_npymath_halffloat.cpp.o -MF numpy/core/libnpymath.a.p/src_npymath_halffloat.cpp.o.d -o numpy/core/libnpymath.a.p/src_npymath_halffloat.cpp.o -c ../numpy/core/src/npymath/halffloat.cpp
In file included from ../numpy/core/src/npymath/halffloat.cpp:12:
In file included from ../numpy/core/src/common/common.hpp:8:
../numpy/core/src/common/utils.hpp:10:10: fatal error: 'type_traits' file not found
10 | #include <type_traits>
| ^~~~~~~~~~~~~
1 error generated.
[31/299] Generating 'numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops_utils.h'
[32/299] Generating 'numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops.h'
[33/299] Compiling C object numpy/core/libnpymath.a.p/src_npymath_npy_math.c.o
[34/299] Generating 'numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops_hyperbolic.dispatch.c'
[35/299] Compiling C object numpy/core/libnpymath.a.p/meson-generated_npy_math_complex.c.o
[36/299] Generating 'numpy/core/libloops_logical.dispatch.h_baseline.a.p/loops.h'
[37/299] Generating 'numpy/core/libloops_logical.dispatch.h_baseline.a.p/loops_utils.h'
[38/299] Compiling C object numpy/core/_multiarray_tests.cpython-313-darwin.so.p/src_common_npy_hashtable.c.o
[39/299] Compiling C object numpy/core/_multiarray_tests.cpython-313-darwin.so.p/src_common_npy_argparse.c.o
[40/299] Compiling C object numpy/core/_multiarray_tests.cpython-313-darwin.so.p/src_common_mem_overlap.c.o
[41/299] Compiling C object numpy/core/_multiarray_tests.cpython-313-darwin.so.p/meson-generated__multiarray_tests.c.o
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
Python 3.13 is out and requires numpy 2.1.0.
So
pip install chainlit
fails with a 3.13 python on stepCollecting numpy<2.0,>=1.26 (from chainlit)
:The text was updated successfully, but these errors were encountered: