Install Python 3?
I'm running cPanel/WHM v84.0.21 on CentOS 7.7. I guess its using python 2.7.. I think cPanel uses python for a lot of stuff. Is it safe and easy to just update (replace) Python 2.7 to 3.6 or whatever? is that ok? or do I have to run Python 3 along side 2.7?
-
No, but you can you yum install python3 and it will live as a python3 binary just fine. 0 -
Some operating system utilities, like yum, rely upon Python 2. It's not possible to replace, or remove, Python 2 because of that requirement. As GOT points out, you can install Python 3 alongside Python 2. Your apps may need updated to use Python 3, since I believe the default Python binary will point to 2.7. cPanel & WHM itself only needs Python for Mailman, the Calendar and Contacts Server plugin, and some yum integration with EasyApache 4. 0
Please sign in to leave a comment.
Comments
2 comments