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

  • Home
  • SEARCH
  • 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 8255573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:34:11+00:00 2026-06-08T01:34:11+00:00

I am running django with mod_wsgi/apache and receive this ImportError: Request Method: GET Django

  • 0

I am running django with mod_wsgi/apache and receive this ImportError:

Request Method: GET
Django Version: 1.2.5
Exception Type: ImportError
Exception Value:    
No module named adspygoogle.dfp.DfpClient

This module is inside my django app/libs directory, which is included in the python path.

Strangely, when using ./manage.py shell or ./manage.py runserver with pdb.set_trace(), dropping into the debugger just before the import, I am able to import the module without any problems.

Does anyone have any idea what could be causing this?

  • 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-08T01:34:14+00:00Added an answer on June 8, 2026 at 1:34 am

    It turned out the libs/adspygoogle directory had somehow become dirty in a way that git hadn’t tracked. I replaced it with a fresh checkout and it now works…

    I still can’t explain why I could import it in the shell or with runserver.

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

Sidebar

Related Questions

I am trying to get a Django app running on Apache with mod_wsgi. I
I'm running Django through mod_wsgi and Apache (2.2.8) on Ubuntu 8.04. I've been running
I have Django running in Apache via mod_wsgi. I believe Django is caching my
I have a Django applciation running on Apache with mod_wsgi, but I would like
I have a web service running through django/apache/mod_wsgi that I am trying to debug
I am running Django site in Apache with mod_wsgi. The site works before .
I've got a setup with Apache + mod_wsgi running django code, and I'd like
I've deployed Django to Apache via mod_wsgi . Django is running fine when hosted
I´m having serious trouble to get Django to work with my Apache/mod_wsgi installation accessing
I have a Django app running on Windows (via Apache + mod_wsgi) that's CPU-bound.

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.