Opened 18 years ago
Closed 18 years ago
#4564 closed (invalid)
install under windows. Path and mysqldb problems
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When I tried to run python manage.py syncdb I got an error message about mysqldb package. Turns out it was not installed on my machine. I got it at http://sourceforge.net/projects/mysql-python/.
When I ran syncdb I get some questions about super user or something. You might want to address it in your tutorial.
As to the path this makepath.bat file is overkill but it is what I use.
path c:\python25\;%path%
path c:\python25\lib\;%path%
path C:\Python25\Lib\site-packages\django\bin\;%path%
path C:\Python25\Lib\site-packages\django\core\;%path%
path C:\Python25\Lib\site-packages\django\db\;%path%
path C:\Python25\Lib\site-packages\django\db\backends\mysql;%path%
Good luck and thanks GF
Thanks for the report, George.
The installation docs clearly state "Additionally, you’ll need to make sure your Python database bindings are installed."
I'm not sure what you're trying to do with the path batch file but it's unnecessary. I suggest asking about it in the Django users discussion group.