Results 1 to 1 of 1
-
04-07-2012, 09:45 AM #1VPS Hosting Guru
- Join Date
- Nov 2010
- Location
- /etc/profile
- Posts
- 1,526
MySQLdb module installation Error in Python 2.7
Hello everyone,
I'm trying to access MySQL from python. The MySQL server is already installed in my system when I installing the WAMP (Windows Apache MySQL PHP). When I trying to install the module MySQLdb which is used to connect and work with database I'm getting this following error. Can anyone help me?
C:\Python27>python C:\python27\mysqldb\setup.py install
Traceback (most recent call last):
File "C:\python27\mysqldb\setup.py", line 15, in <module>
metadata, options = get_config()
File "C:\python27\mysqldb\setup_windows.py", line 5, in get_config
metadata, options = get_metadata_and_options()
File "C:\python27\mysqldb\setup_common.py", line 7, in get_metadata_and_option
s
metadata = dict(config.items('metadata'))
File "C:\Python27\lib\ConfigParser.py", line 634, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'metadata'
It's a Windows Vista 32 Bit system. I'm using python 2.7
Similar Threads
-
Module Create Failed: Error: (Curl Error) couldn't connect to host - code: 7
By zomex in forum Hosting Software and Control PanelsReplies: 6Last Post: 11-13-2010, 03:07 PM -
Installing MySQLdb for Python on cPanel/WHM
By avocado in forum Hosting Software and Control PanelsReplies: 0Last Post: 06-12-2009, 04:05 PM -
django/python template installation
By Bashar in forum Design RequestsReplies: 0Last Post: 09-19-2007, 09:38 AM -
Python Image Library - Installation - Will Pay
By INTEL in forum Employment / Job OffersReplies: 3Last Post: 03-13-2005, 08:56 PM -
Python mysql module
By sliff2000 in forum Hosting Security and TechnologyReplies: 1Last Post: 11-04-2003, 06:42 AM