I want to install python 2.7 in local directory in linux but I don't have admin rights. I need help regarding to this.
            Asked
            
        
        
            Active
            
        
            Viewed 1,274 times
        
    0
            
            
        - 
                    1Possible duplicate of [Installing Python 2.7 without root](http://stackoverflow.com/questions/5824249/installing-python-2-7-without-root) – Sander Toonen Dec 11 '15 at 10:10
- 
                    i tried it but its not working for me.please help me regarding to this.thanks. – Hardik Dec 11 '15 at 10:14
- 
                    Please eleborate more. What have you tried? What isn't working? Do you get an error message, (and if so, what is it?) and at what step do you get stuck? – Sander Toonen Dec 11 '15 at 10:17
1 Answers
2
            Try: ./configure prefix=/x/y and then make install.
Then add the path /x/y/bin in .bashrc as: 
PYTHONPATH=/home/something/python/bin
export PATH=$PYTHONPATH:$PATH
 
    
    
        Idos
        
- 15,053
- 14
- 60
- 75
- 
                    its showing ./configure command not found.I think i need execution permission on ./configure. right? – Hardik Dec 11 '15 at 10:12
- 
                    Did you try chmod +x configure ? If that fails, try /bin/bash ./configure – Idos Dec 11 '15 at 10:15
- 
                    Are you sure you are running ./configure from the correct directory? usually configure is in the top directory after you extracted the source of a package. – Idos Dec 11 '15 at 10:20
- 
                    
- 
                    
- 
                    
- 
                    @Hardik this is a foolproof guide: https://mail.python.org/pipermail/tutor/2002-March/012903.html If this doesn't work then you are definitely doing something wrong, it is very easy and elaborate. – Idos Dec 16 '15 at 07:40
- 
                    1Thank You.. Given link is perfect.I also tried it and its working fine. – Hardik Dec 16 '15 at 08:49
- 
                    ,I had tried to install module in python.It works.But with matplotlib its not installing can you help me regarding this? – Hardik Dec 18 '15 at 05:58
