On Mon, November 19, 2007 11:40, Loic Dachary wrote:
> "Mogens Melander" <[EMAIL PROTECTED]> writes:
>
>> This http://peak.telecommunity.com/DevCenter/EasyInstall gave me the hint to:
>>
>>   edit/create file: /usr/lib/python2.5/site-packages/altinstall.pth to 
>> contain
>>
>>   import os, site; 
>> site.addsitedir(os.path.expanduser('/usr/local/poker/lib/python2.5'))
>>
>> #  export PYTHONPATH=/usr/local/poker/lib/python2.5/site-packages
>> #  python setup.py build
>> #  python setup.py install --prefix=/usr/local/poker
>>
>> Processing MySQL_python-1.2.2-py2.5-linux-i686.egg
>> Removing 
>> /usr/local/poker/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-linux-i686.egg
>> Copying MySQL_python-1.2.2-py2.5-linux-i686.egg to 
>> /usr/local/poker/lib/python2.5/site-packages
>> MySQL-python 1.2.2 is already the active version in easy-install.pth
>>
>> Installed 
>> /usr/local/poker/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-linux-i686.egg
>> Processing dependencies for MySQL-python==1.2.2
>> Finished processing dependencies for MySQL-python==1.2.2
>>
>       Looks good.
>
>       I have the same version. Can you try to load this module by hand ?

Eh, yes. How ? I tried:

# python

Python 2.5.1 (r251:54863, May  1 2007, 08:29:07)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> help()

Welcome to Python 2.5!  This is the online help utility.

help> modules MySQLdb

Here is a list of matching modules.  Enter any module name to get more help.

MySQLdb - MySQLdb - A DB API v2.0 compatible interface to MySQL.
MySQLdb.connections - This module implements connections for MySQLdb. Presently 
there is
MySQLdb.converters - MySQLdb type conversion module
MySQLdb.cursors - MySQLdb Cursors
MySQLdb.release
MySQLdb.times - times module
_mysql_exceptions - _mysql_exceptions: Exception classes for _mysql and MySQLdb.

So, to me it looks like it's where it's suposed to be ???

-- 
Later

Mogens Melander
+45 40 85 71 38
+66 870 133 224



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Pokersource-users mailing list
Pokersource-users@gna.org
https://mail.gna.org/listinfo/pokersource-users

Reply via email to