python headers are required to build mercurial error while installing

python headers are required to build mercurial error while installing

OK, I have been biking mercurial for a while and wanted to upgrade to the latest version
In the process of that, I got the error python headers are required to build mercurial
Here is the fix.
Just add

sudo apt-get install build-essential gcc python-dev

which it was missing.

For re-installation follow the steps listed on https://help.ubuntu.com/community/Mercurial

See how you would solve these known algorithm problems

find longest word in the sentence

Array reversal in Recurrsion

Finding missing numbers from billion sequential number list file

Check if two strings are anagrams or not

Find K Complementary numbers from array Java implementation

Kadane’s algorithm in C – Dynamic Programming

Find the pairs that makes K Complementary in the given array java solution

Check if there are three numbers a, b, c giving a total T from array A

Changing decimal number to its binary equivalent

Find longest palindrom from sequence of characters

4 Comments
  1. Kobe Subramaniam

    thanks for relieving me.

    1. gullele

      I am glad you are relieved :)

  2. ajing

    Thanks mate.

  3. Cristina

    Thank you. This worked just fine :).

Leave a Reply to ajing Cancel reply

Your email address will not be published. Required fields are marked *

*
*