Something is messed up in python & mysql installation.

%% fink list | grep mysql-client
i mysql-client 5.0.38-1005 Open Source SQL database - Client
%% fink list | grep python26
 i      python  1:2.6-2 Generic "python" command that invokes python26
 i      python26        1:2.6-2 Interpreted, object-oriented language
 i      python26-shlibs 1:2.6-2 Interpreted, object-oriented language

But I think this directory should contain something:

 %% pwd
/sw/lib/python2.6/site-packages
 %% ls
README
%%

and in fact

 %% python
Python 2.6 (r26:66714, Mar  2 2009, 13:49:35)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named MySQLdb

At some point this worked. How do I restore it? I've removed and reinstalled various packages.

Victor.
--
Victor Eijkhout -- 865 974 9308
eijkh...@cs.utk.edu http://www.cs.utk.edu/~eijkhout/



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to