Django 1.6.2 - Python 3.3 - MySQL 5.6.17 Connector issue on Windows 7/8 -


मैंने कोशिश की:

  अजगर manage.py syncdb   

लेकिन इस त्रुटि से पता चला:

  ट्रेसबैक (सबसे हाल ही में कॉल अंतिम): फ़ाइल "सी: \ पायथन 33 \ lib \ site-packages \ django \ db \ backends \ mysql \ base। py ", पंक्ति 14, & lt; मॉड्यूल & gt; MySQLdb को डेटाबेस आयात के रूप में आयात करें: त्रुटि: कोई भी मॉड्यूल 'MySQLdb'   

मैंने यहां से अजगर 3.3.5 डाउनलोड किया है:

और यहां से MySQL - Python कनेक्टर: < / p>

मैं इसे Windows मशीन पर सेट करने का प्रयास कर रहा हूं। यह कोशिश कर रहा है कि कोई भाग्य भी नहीं है:

  pip mysql-python    

settings.py में 'इंजन' के रूप में इंजन बदलें: 'mysql.connector.django',

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -