I would like to have the raspberry python3 pip packages (e.g. rpi.gpio, picamera) installed in non raspberry hardware (e.g. on my x86 Ubuntu based PC) so that tools like Visual Studio Code can provide helpful code completion while coding.
When I try to install picamera in Ubuntu (x86) I get a "ValueError: Unable to determine if this system is a Raspberry Pi" which makes sense. But I would like somehow to have at least the "header" files (if python had something like that) as to be able to code against the picamera API.
Is this possible, or is there a viable alternative?