Mysql Python Installation issue - Unix
This is a discussion on Mysql Python Installation issue - Unix ; I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The system has Python 2.3.3 and Mysql 4.0.21 installed. This is where I downloaded the distribution of the Mysql-python package: http://www.ravenbrook.com/project/p4...n-0.9.1.tar.gz I have been doing whatever instructed from ...
| | LinkBack | Tools |
|
#1
| |||
| |||
| system has Python 2.3.3 and Mysql 4.0.21 installed. This is where I downloaded the distribution of the Mysql-python package: http://www.ravenbrook.com/project/p4...n-0.9.1.tar.gz I have been doing whatever instructed from the README file. i.e. change the setup.py according to what OS I'm using: elif sys.platform == "sunos5": # Solaris 2.8 include_dirs = ['/usr/local/mysql/include/mysql'] library_dirs = ['/usr/local/mysql/lib/mysql'] libraries = [mysqlclient, "z"] runtime_library_dirs = ['/usr/local/lib:/usr/openwin/lib:/usr/dt/lib'] extra_objects = [] Then run the setup.py script with Python, here is the problem. I am encountering the following issue when running the setup.py script. Do u know why is that? Thanks! ================================================== ==================== python setup.py build Traceback (most recent call last): File "setup.py", line 123, in ? extra_objects=extra_objects, File "/usr/local/lib/python2.3/distutils/core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "/usr/local/lib/python2.3/distutils/dist.py", line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name)) AttributeError: DistributionMetadata instance has no attribute 'get___doc__' python setup.py install Traceback (most recent call last): File "setup.py", line 123, in ? extra_objects=extra_objects, File "/usr/local/lib/python2.3/distutils/core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "/usr/local/lib/python2.3/distutils/dist.py", line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name)) AttributeError: DistributionMetadata instance has no attribute 'get___doc__' |
« Previous Thread
|
Next Thread »
| Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Double Python installation! | unix | Redhat | 9 | 10-07-2007 08:41 AM |
| Installing MySQL-Python | unix | Unix | 0 | 10-03-2007 09:48 PM |
| Re: Installation issue with mysql | unix | Mozilla | 0 | 07-20-2007 06:48 AM |
| Installation issue with mysql | unix | Mozilla | 0 | 07-19-2007 07:46 PM |
| Installation issue, IIS, MySQL and ActiveState perl | unix | Mozilla | 1 | 05-04-2006 09:08 PM |
All times are GMT. The time now is 09:41 PM.
