Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7900209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:54:43+00:00 2026-06-03T08:54:43+00:00

What are the steps for installing all the dependencies needed to get python django

  • 0

What are the steps for installing all the dependencies needed to get python django working with Apache2 on a Redhat4 system?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:54:45+00:00Added an answer on June 3, 2026 at 8:54 am

    Check if you have the Apache apxs module, which is needed for installing other modules (sudo find / -name “apxs”).

    If no apxs module exists then:

    sudo yum install httpd-devel
    

    For python’s django module you need to install the python developer package, and its dependencies–in my case I ran these 2 install commands:

    sudo yum install gcc
    sudo yum install python-devel
    

    Installing and configuring dgango to talk to apache is a bit complex. You need to install the mod_wsgi python module and edit/configure the apache configuration file and the wsgi.py files (read this).

    wget http://modwsgi.googlecode.com/files/mod_wsgi-3.3.tar.gz
    tar xvfz mod_wsgi-3.3.tar.gz
    cd mod_wsgi-3.3
    ./configure 
    

    Add this line in the “LoadModule” part of your apache config file (ie. something named like these: www.vhost.conf , httpd.conf , etc)

    LoadModule wsgi_module modules/mod_wsgi.so
    

    Restart apache so it recoginizes your new changes:

    /etc/init.d/sudo service httpd stop
    /etc/init.d/sudo service httpd start
    

    Redhat Docs for installing Apache modules

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for the fast, easy (all default settings) way of installing Python on
First steps in FreeBSD: trying to run my installation script. Fast help needed: #
What steps are needed to compile Version Information inside a windows DLL from the
Can someone give specific steps on how to implement hosting of a Django-based website
I installed TestDriven.Net after installing NUnit. When in VS, I run all tests, they
FireWatir I recently started using Firewatir for testing, I followed all the required steps
I am installing all my packages in a project using the following nuget command
I'm following the tutorial here : I've gone through all the steps. My app
I'm looking for a good guide with sequenced and detailed steps for installing Perl
I have been struggling to get passenger to run my Rails/Rack apps. Steps I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.