Linux Redhat 6 And Installing Easy_install
I'm completely new at this and needed a bit of help. I've got a hosted server running Linux Redhat 6 and using Python 2.7 (which has just been set as the default from Python 2.6) l
Solution 1:
A couple of things:
- Your 
sudopassword is likely the password for the user account on your server, however your user account may not havesudoaccess. Does the command provide any output? - You're using RedHat however your 
apt-get installcommand is Debian/Ubuntu specific. The equivalent you are looking for isyum install - However, 
yumuses Python 2.6 and any python package you install from theyumrepository will be installed for this version of python and not available to python 2.7. 
To get around this you have a couple of options:
- Use something like 
pythonbrewwhich allows you to switch python interpreters on your system (you still wont be able toyum install python-setuptoolsbut allows you to easily switch between Python 2.6/2.7/3.3) - Use the following command from the 
setuptoolswebsitewget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | pythonto install as long aspythongives you python2.7 - After doing that, 
easy_install pipto getpipinstalled on your system (hopefully for python 2.7) - Use 
virtualenv's - they get round all yoursudoproblems. 
Post a Comment for "Linux Redhat 6 And Installing Easy_install"