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 7848675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:17:21+00:00 2026-06-02T18:17:21+00:00

I have been running Apache and PHP successfully for a while and would now

  • 0

I have been running Apache and PHP successfully for a while and would now like to use python as well. I have installed django and mod_wsgi, but still haven’t got them working.

I get errors like

ImportError: Could not import settings '/srv/django_projects/proj1/settings.py' (Is it on sys.path?):

in my apache logs. Tutorials about setting PYTHONPATH seem to require adding an export command to webserver startup scripts, but frankly I have no idea what I’m doing so I’d like to get some clarity about what’s going on, and what I should do.

  • 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-02T18:17:22+00:00Added an answer on June 2, 2026 at 6:17 pm

    Use a virtual environment as documented in:

    http://code.google.com/p/modwsgi/wiki/VirtualEnvironments

    Also see:

    http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPythonPath

    and the python-path option of:

    http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess

    Which of the latter you might use depends on how you are running mod_wsgi.

    So, lots of documentation available.

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

Sidebar

Related Questions

I am running an Apache server with PHP. Until now, emails to users have
I have been running Apache HTTPD in 64bit mode by stripping out the 32bit
What OS would you choose for Visual Studio 2010? I have been running Vista
I have been having some problems trying to get my PHP running. When I
I've came across on this problem, I have a sever running apache and php.
How can I have PHP 5.2 (running as apache mod_php) send a complete HTTP
I have a wordpress based php application running on apache on ubuntu server. I
Lately, I have been trying to compile php on my old PPC mac running
I have been running drush scripts (for Drupal ) with Cygwin on my relatively
I have been trying to learn Erlang and have been running into some problems

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.