Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Jun 1 '12 at 8:16

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

1  
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

1 Answer 1

You can compile your own python from the sources, and then install any modules what you want. http://docs.python.org/devguide/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.