How to Install Cloudlinux Python Selector cPanel WHM

Learn how to install CloudLinux Python Selector in cPanel/WHM. Step-by-step guide to enable Python app support and manage environments easily

How to Install Cloudlinux Python Selector cPanel WHM

🐍 How to Install Python Selector on cPanel (CloudLinux)

If you're running CloudLinux with cPanel and want to provide your users access to the Python Selector, you’ll need to install the correct packages depending on your OS version.


🌐 Environment:

  • ✅ CloudLinux OS (v8 or v9)

  • ✅ cPanel/WHM

  • ✅ Python Selector not yet installed


🛠️ Solution: Install Python Selector Packages

📦 Step 1: Install Base Packages (Required for All Versions)

Run the following as root:

# yum groupinstall alt-python
# yum install lvemanager lve-utils alt-python-virtualenv 

🧩 Step 2: Install Passenger Module Based on OS Version

📌 For CloudLinux 8:

# yum install lvemanager lve-utils alt-python-virtualenv 
# yum install ea-ruby27-mod_passenger

📌 For CloudLinux 9:

# yum install ea-apache24-mod-passenger

⚠️ Make sure EasyApache is configured and your Apache is up to date.


🔄 Step 3: Restart Apache

# systemctl restart httpd 

✅ Done!

After completing these steps:

  • Log in to a cPanel user account

  • Navigate to Software → Setup Python App

  • Start creating Python environments using the Python Selector 🎉


💡 Pro Tip:

If you don't see the Python Selector:

  • Make sure the feature is enabled in WHM → Feature Manager

  • Confirm the user is in CageFS

Check with:

cagefsctl --list-enabled | grep username

Share

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0