RHEL 7 - Setting up Python2 and Python3 Environments Best Practices

Latest response

Hello,

With RHEL 7 , we have Python 2.7 by default but now with Python 2 project gone obsolete , we have to move the setups one by one to Python 3. Now for such transition , we as of now need to have both the environment go hand-in-hand on server Python 2 as well as Python 3 .

Can someone please provide me with best practices to go about it .

Also, industry-wide best practices on how to install pip, how use it (sudo/root/user?) to install other python packages and how to differentiate from python3 and pip3 packages?

Regards,

Abhishek Thakur

https://twitter.com/@LuckyDudeThakur
https://www.linkedin.com/in/luckydudethakur

Responses