Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
MySQLdb import error - libmysqlclient.18.dylib library not loaded
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aradhya Tulsyan  
View profile  
 More options Jul 31 2012, 7:46 am
From: Aradhya Tulsyan <aradhya.tuls...@gmail.com>
Date: Tue, 31 Jul 2012 04:46:51 -0700 (PDT)
Local: Tues, Jul 31 2012 7:46 am
Subject: MySQLdb import error - libmysqlclient.18.dylib library not loaded

I am using Apache + mod_wsgi to serve the application
I have been getting this error :

[Tue Jul 31 12:49:46 2012] [error] [client ::1]     import MySQLdb as mysql
[Tue Jul 31 12:49:46 2012] [error] [client ::1]   File
"/Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-int el.egg/MySQLdb/__init__.py",
line 19, in <module>
[Tue Jul 31 12:49:46 2012] [error] [client ::1]   File
"/Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-int el.egg/_mysql.py",
line 7, in <module>
[Tue Jul 31 12:49:46 2012] [error] [client ::1]   File
"/Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-int el.egg/_mysql.py",
line 6, in __bootstrap__
[Tue Jul 31 12:49:46 2012] [error] [client ::1] ImportError:
dlopen(/Users/anupamtulsyan/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10 .7-intel.egg-tmp/_mysql.so,
2): Library not loaded: libmysqlclient.18.dylib
[Tue Jul 31 12:49:46 2012] [error] [client ::1]   Referenced from:
/Users/anupamtulsyan/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.7-inte l.egg-tmp/_mysql.so

I have checked and applied all the methods that I could find online and
none of them seem to be working. The application is getting served properly
if I use the 'pserve' command and also 'import MySQLdb' workds fine while
using python interpreter. It is only when I try to load the application
using mod_wsgi is the internal server error ocurring.
I am very new to python and pyramid framework, so please help me out. Thank
you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Hite  
View profile  
 More options Aug 1 2012, 10:54 pm
From: Jacob Hite <jrh...@gmail.com>
Date: Thu, 2 Aug 2012 09:54:43 +0700
Local: Wed, Aug 1 2012 10:54 pm
Subject: Re: MySQLdb import error - libmysqlclient.18.dylib library not loaded

Did you setup a virutalenv for your project?  If so, did you configure
apache for your virtualenv?  It may be that pserve and apache are using
different python environments.

On Tue, Jul 31, 2012 at 6:46 PM, Aradhya Tulsyan
<aradhya.tuls...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »