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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:12:21+00:00 2026-05-15T23:12:21+00:00

Running OSX 10.6.3 Just updated python to Python 2.6.5 (r265:79359 rebuilt and reinstalled mysqldb

  • 0

Running OSX 10.6.3

Just updated python to Python 2.6.5 (r265:79359

rebuilt and reinstalled mysqldb (MySQL-python-1.2.3)

rebuilt and reinstalled django (<– should be unrelated. problem seems to be with mysqldb)

I’m getting the following error.

File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.3-fat/egg/MySQLdb/__init__.py", line 19, in <module>    
File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 7, in <module>
  File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 6, in __bootstrap__
ImportError: dlopen(/Users/joshuamerriam/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.3-fat.egg-tmp/_mysql.so, 2): Symbol not found: _mysql_affected_rows
  Referenced from: /Users/joshuamerriam/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.3-fat.egg-tmp/_mysql.so
  Expected in: dynamic lookup

The error is mentioned here (http://mysql-python.sourceforge.net/FAQ.html) but with no reference as to how to fix it. I’m a bit over my head. Any help?

  • 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-15T23:12:22+00:00Added an answer on May 15, 2026 at 11:12 pm

    Since you have already gone done the road of using MacPorts for the MySQL client library, the easiest and least trouble-prone solution long-term is to use as many other components from MacPorts as possible. That is, use python and the the MySQLdb from MacPorts as well. There’s even a Django port available. One tip: on Snow Leopard, the MacPorts Python 2.6 Tkinter pulls in a lot of extra ports that you may not want to bother building. If you don’t anticipate needing Tkinter, you can skip building it:

    sudo port install python26 +no_tkinter py26-mysql py26-django
    

    You may also want to install the python_select port and use it to select the default for the /opt/local/bin/python command:

    sudo python_select python26
    

    You’ll need to ensure your shell PATH includes the MacPorts bin and Python framework bin directories:

    export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:/opt/local/bin:$PATH"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Mac OSX. Until today I had Python 2.6 with psycopg2 running just
I recently installed python 2.7.2 on my Mac running OSX 10.6.8. Previously, I had
I'm running Mac OSX Snow Leopard, this problem is caused by a recent train
On OSX, I have a Python universal binary which just contains 32-bit code: $
I'm running node.js on OSX and have just installed mongodb using command npm install
So I'm running Mac OSX Lion and I recently installed Eclipse IDE for Java
I am running Mac OSX 10.5.8. I installed matplotlib using macports. I get some
I'm running git 1.7 on Mac OSX, installed via Homebrew. I'm trying to use
I receive the following error when running a new compass project in OSX 10.7.3.
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running

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.