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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:26:26+00:00 2026-06-02T01:26:26+00:00

I have created a virtualenv for developing in Django but Django is not using

  • 0

I have created a virtualenv for developing in Django but Django is not using the correct instance of Python. Here’s what I’ve found out:

  1. C:\Python27 is not in my path. If I run python from a command prompt it says it’s not recognized

  2. When I start up the virtualenv, run python and check sys.executable it does point to the virtualenv’s instance of python and sys.path is also pointing to the correct place

  3. When I run manage.py shell from within the virtualenv and check the sys.executable and sys.path they are both pointing to the C:\python27 installation

Any ideas as to what’s going on?

  • 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-02T01:26:28+00:00Added an answer on June 2, 2026 at 1:26 am

    Are you running ./manage.py shell or python manage.py shell? It can make a difference.

    Using the ./ version uses the shebang line for the interpreter and normally results in using the system-level interpreter. As you’ve seen yourself, running python uses the virtualenv’s version, so python manage.py shell should as well.

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

Sidebar

Related Questions

I have created a mac application using the WebView. But issue is that webView
I have installed virtualenv and created a virtualenv directory for testing out the newer
I have the latest versions of virtualenv,django-nonrel, djangotoolbox and django_mongodb_engine. The virtualenv was created
I have created two python environments with virtualenv: /usr/local/pythonenv/BASELINE and /usr/local/pythonenv/django1 . Both were
I have created a virtual environment without the system packages with python's virtualenv in
I have a Python virtualenv (created with virtualenvwerapper) in one user account. I would
I am on linux mint 12. I have created a virtualenv called userena .
I have created a facebook apps. It works fine for me. But my problem
I have created a Layout using ExtJs. It consists of a left menu and
I have created a virtualenv with the --no-site-packages option. I get an error trying

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.