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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:37:31+00:00 2026-05-24T04:37:31+00:00

First, I’m following the tutorial on the Django Poll application on their site and

  • 0

First, I’m following the tutorial on the Django Poll application on their site and have hit a few road blocks.

I’ve installed Python 2.7 and Django 1.3

Created a new project with

django-admin.py startproject myproject

I got mysql up and running and entered the credentials in settings.py

Then when I try to run

python manage.py syncdb

it puked … http://pastie.org/2294709

Then when I installed Mysql-python

easy_install mysql-python

Success! …

Searching for MySQL-python
Best match: MySQL-python 1.2.3
Adding MySQL-python 1.2.3 to easy-install.pth file

Using /Library/Python/2.6/site-packages
Processing dependencies for MySQL-python
Finished processing dependencies for MySQL-python

so I try again

python manage.py syncdb

Still pukes the same message as above

Am I missing Something?

  • 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-05-24T04:37:32+00:00Added an answer on May 24, 2026 at 4:37 am

    jondavidjohn’s comment is spot on: you will have no end of confusion with multiple versions of Python on the Mac. There are some things you can do to deal with this.

    1. Stick with 2.6

    2. Convert to Lion, which has 2.7

    3. Add an alias to your shell environment to invoke version 2.7 with $ python. In my bash_profile, I have “alias python=’/usr/local/bin/python'”

    4. Be sure to set your PYTHONPATH variable to the site packages directory that corresponds to the version of Python that you’re using, such as PYTHONPATH=/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages

    5. Make sure you know which version of easy_install is operative; many module problems arise from assuming that easy_install will use the same site-packages version for everything. Not true always. Every different Python bin directory has its own version of easy_install (or pip, by preference) which will use the corresponding site packages directory.

    6. Don’t try to run Django under Python 3.x

    7. Don’t try to get rid of the OS version of Python; it will break your installation because software update sometimes relies on it.

    8. Once you’re past this hurdle, there are some other parts of getting the sample poll app in Django to run that I had problems with, so I put my experience at https://github.com/technocrat/Writing-your-first-Django-app

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

Sidebar

Related Questions

First of all, I know how to build a Java application. But I have
First of all Sorry if my question title sounds stupid.... I have the following
First off, I am using Windows XP. I have multiple hard drives and it
First I want to thank you guys here, because your posts have gotten me
First, I have a dbcontext factory which is defined public class DatabaseFactory : Disposable,
First, I have a list of QWidget s that I won't know the length
First of all, I just installed XE2 for the first time, and plan to
First of all Im new to vb 2010 and so far have enjoyed what
First Im a noob in LINQ ! Then, the thing is that I have
First of all I have seen that there are many questions about unrecognized selector

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.