Modify ↓
#6856 closed defect (invalid)
ImportError: No module named MySQLdb
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | mysql |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
When setting up trac I get:
Creating and Initializing Project Failed to create environment. No module named MySQLdb Traceback (most recent call last): File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line 613, in do_initenv options=options) File "/var/lib/python-support/python2.4/trac/env.py", line 124, in __init__ self.create(options) File "/var/lib/python-support/python2.4/trac/env.py", line 229, in create DatabaseManager(self).init_db() File "/var/lib/python-support/python2.4/trac/db/api.py", line 69, in init_db connector.init_db(**args) File "/var/lib/python-support/python2.4/trac/db/mysql_backend.py", line 44, in init_db cnx = self.get_connection(path, user, password, host, port, params) File "/var/lib/python-support/python2.4/trac/db/mysql_backend.py", line 40, in get_connection return MySQLConnection(path, user, password, host, port, params) File "/var/lib/python-support/python2.4/trac/db/mysql_backend.py", line 125, in __init__ import MySQLdb ImportError: No module named MySQLdb Failed to initialize environment. 1 Traceback (most recent call last): File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line 617, in do_initenv sys.exit(1) SystemExit: 1
But I have installed: mysql-python python-dev libmysqlclient15-dev
Any ideas why the trac setup cannot find the mysqldb module?
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Priority: | high → normal |
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
See duplicates #3874 and #6241
This is an installation issue and as such should not be filed in as a ticket but posted to the MailingList.