Creating virtualenv on Hostgator Shared Hosting

Hello all,

I am using hostgator’s baby plan. It’s python packages are outdated or not satisfactory. Also you can’t add new packages to this python installation.

2-3 months ago I tried to install virtualenv, but not success. Today, i decided to try again and i did it!

First of all you have to ask from a customer service to activate your ssh account. Ssh is deactivated by default. Don’t ask them about virtualenv, beacuse they always say “you cant do this.”

After that, upload virtualenv.py to your root directory.

Connect ssh via typing “ssh -p 2222 username@yoursite.com

then type “python virtualenv.py ENV-DIRECTORY-NAME –no-site-packages”

Congratulations, you created your virtualenv. type “env-directory/bin/python” to test your env.

If you don’t write “–no-site-packages” jailshell doesn’t give you access.

 
54
Kudos
 
54
Kudos

Now read this

We Started to a New Game

Hi! I know that my other game has not been published yet, but me and my friend @MorenoCamillo(designer) have started to a new game. I am holding other game project aside. I hope this game will be ready in approximately 2 week except iOS... Continue →