I am using a macOS 12.2.1 with Python 3.10 and I am trying to install Raylib Python CFFI 3.7 or higher but whenever I run the python3 -m pip install raylib
command or the pip3 install raylib
command but I keep getting the error below:
generating cffi module 'build/temp.macosx-10.9-universal2-3.10/raylib._raylib_cffi.c'
building 'raylib._raylib_cffi' extension
build/temp.macosx-10.9-universal2-3.10/raylib._raylib_cffi.c:570:14: fatal error: 'raylib.h' file not found
#include "raylib.h"
^~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
I tried several things to solve this issue but no luck.