Python on Raspberry Pi with Buildroot


I’m in need of python on my custom embedded Linux system for Raspberry Pi. This post shows how I enable it. For some reason python build was failing with errors such as

build error: unknown type name ‘wchar_t’

A clean build, as follows, resolved it

make clean
make

To add python to your Buildroot config, invoke

make menuconfig

Enable WCHAR support, under Toolchain

WCHAR support

Enable python or python3, under Target packages, Interpreter languages and scripting

Python

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s