Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install python package (scikits.learn) on my user directory (on a ubuntu server for which I don't have sudo permission) but I am getting

error: Python.h: No such file or directory

It may be because I don't have python-dev installed. But how can I install python-dev without sudo? OR is there any other easy way out for Python.h?

share|improve this question

migrated from Jun 1 '12 at 8:16

This question came from our site for professional and enthusiast programmers.

1) What Linux distro? 2) The question is not exactly on topic here, it may get migrated somewhere else. 3) See this question for some ideas. – Lev Levitsky May 30 '12 at 13:57
1. on ubuntu server – d.putto May 30 '12 at 14:01

You can compile your own python from the sources, and then install any modules what you want.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .