src/gevent/_greenlet_primitives.c:216:12: fatal error: longintrepr.h: No such file or directory
Code: Select all
Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/home/ico/.espressif/python_env/idf4.2_py3.11_env/include -I/usr/include/python3.11 -c src/gevent/_greenlet_primitives.c -o build/temp.linux-x86_64-cpython-311/src/gevent/_greenlet_primitives.o
src/gevent/_greenlet_primitives.c:216:12: fatal error: longintrepr.h: No such file or directory
216 | #include "longintrepr.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 gevent
Failed to build gevent
ERROR: Could not build wheels for gevent, which is required to install pyproject.toml-based projects
Traceback (most recent call last):
File "/opt/toolchains/esp-idf-4.2/tools/idf_tools.py", line 1492, in <module>
main(sys.argv[1:])
File "/opt/toolchains/esp-idf-4.2/tools/idf_tools.py", line 1488, in main
action_func(args)
File "/opt/toolchains/esp-idf-4.2/tools/idf_tools.py", line 1215, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/ico/.espressif/python_env/idf4.2_py3.11_env/bin/python', '-m', 'pip', 'install', '--no-warn-script-location', '-r', '/opt/toolchains/esp-idf-4.2/requirements.txt']' returned non-zero exit status 1.