How do I install Python/Django Modules?

I know absolutely nothing about Django, but I am needing to get an existing project running in OSX.

From the project's directory I run python manage.py runserver and get the error: Error: No module named cms.

Seems like the INSTALLED_APPS constant (in settings.py) defines the required modules... but how do I install the dang things?

Is there a standard way of installing dependencies in bulk (like Ruby's Bundler)?

Thanks for the help!

Answers


you can install all dependencies in once, if there is a requirements.txt file! you just have to run the follow command:

pip install -r requirements.txt

otherwise you can install one by one:

pip install django-cms

Here is the PIP documentation: http://pypi.python.org/pypi/pip

if you are used to ruby, you can compared to ruby GEM


Need Your Help

Share file by two github repos?

git github

Let's say I have two projects on github:

Embedding Justin.tv player on https page

php javascript html flash justin.tv

I've run into a slight issue whilst trying to embed the Justin.tv player into my page. The page is using a https connection and I want to keep it that way at all costs.