I was trying to install pyA20 python module for orange pi zero (ubuntu server os)
i had this error
python arm-linux-gnueabihf-gcc exit status 1 orangepi
and people always say “you should install python-dev” on all the forums
i had damn python-dev installed 🙂 it was so annoying to see a non-working solution everywhere
anyway, i wanned to share my solution
For me removing the libi2c-dev package solved the problem.
sudo apt-get remove libi2c-dev