FastDomain Web Hosting Help

Install Python 2.7 to your account

Summary

FastDomain 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.

In order to install python locally, you will need to be added to the Compiler group. Please contact Support to request you be added to the Compiler group before proceeding.

Download Python

Enter the following commands to download and extract Python 2.7 to your hosting account.
            mkdir ~/python
            
            cd ~/python
            
            wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz
            
            tar zxfv Python-2.7.2.tgz
            
            find ~/python -type d | xargs chmod 0755
            
            cd Python-2.7.2
            

Install Python

Once extracted you can use the following commands to configure and install Python.

            ./configure --prefix=$HOME/python
            
            make
            
            make install
            

Modify the .bashrc

For your local version of python to load you will need to add it to the .bashrc file.
            vim ~/.bashrc
            
Press i

Enter:
            export PATH=$HOME/python/Python-2.7.2/:$PATH
            
Write the changes (press ESC) and close vim:
            :wq
            
Press Enter
            source ~/.bashrc
            
Note: You may need to logout for the environment to update.
Enter python -V to check the version of python installed.

Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





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.
Getting Started Article 830,726 views tags: blog install scripts simple wordpress

This article outlines what to do if you find your local IP address has been blacklisted.
Knowledgebase Article 59,825 views tags: access addresses anti blacklist blacklisted blocked denied ip local malware

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
Getting Started Article 595,606 views tags: install link theme themes wordpress

Related Help Content

This article explains how to install WordPress when Mojo is unable to create the database automatically.
Knowledgebase Article 78,827 views tags: MOJO automatic database install wordpress

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
Getting Started Article 293,550 views tags: MOJO checkbox install phpbb terms

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
Getting Started Article 236,385 views tags: blog install link plugin wordpress

When you call in for help with your account, the account must be validated before our support staff can assist.
Knowledgebase Article 17,157 views tags: account security support validate validation

How to install a program using MOJO Marketplace.
Getting Started Article 257,906 views tags: install program programs script simple

How do I install my own Ruby Gems?
Knowledgebase Article 128,153 views tags: gem install ruby

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.
Knowledgebase Article 1,581 views tags: auto automatic certified download install manual premium themes update upload wordpress

How to use use the FTP Account tool to create additional FTP Accounts. This is useful for granting FTP access to your account without giving anyone your cPanel password.
Video "How-to" Tutorial 875,611 views tags: account accounts cpanelutilities ftp login publish upload