Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I will be hosting a Django application on hostgator.com and was wondering how can I install django apps and python packages without using pip, since I won't have access to the root account.

share|improve this question

3 Answers

python packages are no more than directories and files. you can just upload them and point to them from your python code

check if your host support virtual enviroments

share|improve this answer

Depending on your host, you may be able to use virtual-python.py to create a local copy of python in your home directory and install packages within that copy. Josh Vanderlinden outlines installing Django on Site5 shared hosting here, but it may work for hostgater as well:

http://static.jcvan.net/codekoala/articles/pdfs/installing-django-shared-hosting-site5.pdf

share|improve this answer

Shared hosting accounts rarely, if ever, allow packages to be installed on their server as it will affect all sites on the server and they can't allow that. Plus for the price you're paying they wouldn't want you to. This usually requires a VPS or dedicated server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.