Код: Выделить всё
% conda create -n snakegame python
% conda activate snakegame
(snakegame) % conda install sdl2
(snakegame) % pip install pygame==2.1.2
Код: Выделить всё
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
src_c/_sdl2/sdl2.c:211:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
Заранее спасибо за помощь!
Подробнее здесь: https://stackoverflow.com/questions/781 ... -not-found