On Wednesday, 20 May 2015 16:05:17 UTC+1, eduardo.c...@gmail.com wrote: > > Hi, I never used Django with MySQL data base before. Someone can tellme > how I can (if it's possible) connect my Django web site with a data base in > MySQL. I tryed to install "mysqlclient-1.3.6-cp27-none-win32.whl" using pip > (pip install mysqlclient-1.3.6-cp27-none-win32.whl), but I recived an > error. Thanks for help. > > pip error log report: > C:\Python34\Scripts\pip run on 05/20/15 10:13:16 > mysqlclient136.whl is not a valid wheel filename. > Exception information: > Traceback (most recent call last): > File "C:\Python34\lib\site-packages\pip\basecommand.py", line 122, in > main > status = self.run(options, args) > File "C:\Python34\lib\site-packages\pip\commands\install.py", line 257, > in run > InstallRequirement.from_line(name, None)) > File "C:\Python34\lib\site-packages\pip\req.py", line 165, in from_line > wheel = Wheel(link.filename) # can raise InvalidWheelFilename > File "C:\Python34\lib\site-packages\pip\wheel.py", line 467, in __init__ > raise InvalidWheelFilename("%s is not a valid wheel filename." % > filename) > pip.exceptions.InvalidWheelFilename: mysqlclient136.whl is not a valid > wheel filename. >
That's not how you install wheels. Just do `pip install mysqlclient` and it will choose the correct version for your OS and architecture. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d5c30aef-10cc-4a84-81bf-88234966f1d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.