Just Host uses the preinstalled version of Python that ships with CentOS. Because of this, it is often not the latest release. This article will explain how to install an updated version of Python locally.
Note: In order to install Python locally, you will need to be added to the Compiler group. Please contact our Support at 888-755-7585 (ext. 2) to request you be added to the Compiler group before proceeding.
Download up to the latest Python version 3.9.2
Enter the following commands to download and extract Python 3.9.2 to your hosting account. You can also use this reference Index of Python.org/ftp/ to get your preferred version.
tar zxfv Python-3.9.2.tgz
find ~/python -type d | xargs chmod 0755
Once extracted, you can use the following commands to configure and install Python.
Modify the .bashrc
For your local version of python to load, you will need to add it to the .bashrc file.
Write the changes (press
ESC) and close vim:
Note: You may need to log out for the environment to update.
Enter python -V to check the version of python installed.
configure: error: in `/home2/tomstec2/Python_3.9.2/Python-3.9.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Important Note: If this configuration error occurs when you attempt to configure python with ./configure --prefix=$HOME/python, this means that your cPanel user is not added to the C compiler group on the server.
Recommended Help Content
We provide a program which makes it very easy to install third party scripts to your hosting account. If you want your website to have a WordPress blog, you can use MOJO Marketplace to install WordPress.
This article outlines what to do if you find your local IP address has been blacklisted.
Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for
Related Help Content
This article explains how to install WordPress when Mojo is unable to create the database automatically.
To install a phpBB forum using MOJO Marketplace, log into the cPanel and scroll down to the Software/Services category. Click on the MOJO Marketplace icon. Click on the phpBB icon. Click the Install Now bu
Install Plugins These steps will help you install and select a WordPress plugin for your blog. Inside the WordPress Dashboard, select the Add New link from the Plugins menu. You can search for a plug
How to install a program using MOJO Marketplace.
When you call in for help with your account, the account must be validated before our support staff can assist.
How do I install my own Ruby Gems?
How to install Java in a dedicated server.
To help with transferring of accounts from other servers to your account.