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.

 
53
Kudos
 
53
Kudos

Now read this

My new Game Prototype

Hello all! I am working on a new game right now. It’s been 2 weeks since I started this project. I think it’s harder and more annoying than Flappy Bird hahah! I haven’t give a name for it now but I’m working on it. I’ll share a sample... Continue →