Install Python on GoDaddy.com Account

Use the following steps to setup Python on your GoDaddy account

SSH onto your account, and you'll need a couple of starter scripts

virtual-python-py.txt (rename)
ez_setup-py.txt (rename)

Bonus - Send Email with Python
send-email-py.txt (rename)

Reference Article
Installing Python Libraries on GoDaddy Shared Hosting : Create Awesome

Refer: http://blog.cosmocatalano.com/installing-python-libraries-on-godaddy-shared-hosting/

$ python -V
# cd ~
$ /usr/local/bin/python2.7 virtual-python.py
$ ~/bin/python ez_setup.py -U setuptools
$ ~/bin/python ~/lib/python2.7/site-packages/easy_install.py beautifulsoup4
$ ~/bin/python ~/lib/python2.7/site-packages/easy_install.py requests

Now you will execute your python scripts like this:

$ ~/bin/python your-script-here.py

 

Leave a Reply