Error in Raspberry Pi Install Guide -- please include py-dev

Following this guide: … a-mavlink/

during the install phase, under “Install required packages on the Raspberry Pi”, you need to include

sudo apt-get install python-dev

I just went through this install and eventually got it working, but a new RPi does not come with python dev, and the pymavlink and mavproxy installation will fail if you do not include this package.

I thought I had fixed this. Now updated on wiki and will be updated on the official DK docs when this goes in

Note, the official docs are more likely to be up to date.

Thanks very much for posting this.

I have installed
sudo apt-get install python-dev

But when i try installing pymavlink and mavproxy. I get following on the console:

Building dependency tree
Reading state information… Done
python-dev is already the newest version (2.7.13-2).
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
pi@raspberrypi:~ $ sudo pip install pymavlink
Collecting pymavlink
Requirement already satisfied: future in /usr/local/lib/python2.7/dist-packages (from pymavlink)
Collecting lxml (from pymavlink)
Using cached
Building wheels for collected packages: lxml

And then console freezes.
Any suggestions? Thanks