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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:24:41+00:00 2026-06-02T08:24:41+00:00

I have a django site within virtual environment that uses Python 2.6 installed with

  • 0

I have a django site within virtual environment that uses Python 2.6 installed with Ubuntu. But my django application needs Python 2.7.

I found, that I have to recompile my wsgi for another Python version using --with-python option as described at http://code.google.com/p/modwsgi/wiki/InstallationIssues#Multiple_Python_Versions

But I wonder if this will be the global wsgi installation? Can I use wsgi+Python2.7 only for specific virtual environment? I would not like to affect other applications on the server.

  • 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-02T08:24:42+00:00Added an answer on June 2, 2026 at 8:24 am

    Yes, this would affect the global instalation, that is, apache+modwsgi. I don’t use apache+modwsgi, but if it is possible to modwsgi to dynamically change the python interpreter (which I doubt it is), this would be a better solution for you.

    Another way could be: Check if modwsgi can be configured to be aware of a virtualenv, so it will use the python interpreter of this env, which also I think maybe is not possible because it seems that the python lib is linked into modwsgi library.

    Have you considered using other solutions to run your django app?

    • mongrel2 + wsgid
    • nginx + gunicorn

    in both oy run your app as a separated process, and then you can truly use a virtualenv and choose wich python version it will use.

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

Sidebar

Related Questions

I have an application that uses Django 1.3 installed in python's site-packages. I want
I have a Django site that uses the localization middleware in combination with gettext
I have a nice and lovely Django site up and running, but have noticed
I have a django server that serves the basic site with user, auth etc
I have a similar question than django cross-site reverse . But i think I
I have enabled site-wide Django caching , but the third-party apps I am using
I have just learnt about Django apps. I want to know that within one
I have a Django site running with PSQL but when my friend gave the
I have a Django site running with PSQL but when my friend gave the
I have a django site that's tightly coupled with a wordpress blog. I want

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.