Django error loading mysqldb module windows


















It worked somehow. I had this issue just recently even with using the python 3 compatible mysqlclient library and managed to solve my issue albeit in a bit of an unorthodox manner. If you are using MySQL 8, give this a try and see if it helps! I simply made a copy of the libmysqlclient. You can do this by booting up into the recovery system, click Utilities on the menu at the top, and open up the terminal and enter csrutil disable into the terminal.

Just remember to turn security integrity protection back on when you're done doing this! The only difference from the above process will be that you run csrutil enable instead. You can find out more about how to disable and enable macOS's security integrity protection here. Faced this issue with mysql. This file on line 51 imports "from django. The imported file has following code exact code and error that you received is part of code.

The error is formed here. Not sure why this import keeps coming back in different version of mysql connector but 8. This is incase you wish to continue to work with mysql.

Not sure of logic and why this error is open for last 5 years Then visit this site and download the supported wheel. Now how to know the supported wheel. For example there are multiple wheel files like below:. See the bold version cp36 which indicates CPython version 3. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 4 years, 2 months ago. Active 21 days ago. Viewed k times. Did you install mysqlclient or MySQL-python? Improve this question. PrimeBenefiter PrimeBenefiter 1 1 gold badge 7 7 silver badges 9 9 bronze badges. Add a comment. Active Oldest Votes. We also want to use the database connection…. Next, complete checkout for full access to ArturoFM.

Welcome back! You've successfully signed in. You've successfully subscribed to ArturoFM. Your account is fully activated, you now have access to all content. Your billing info has been updated. Your billing was not updated. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta.

New post summary designs on greatest hits now, everywhere else eventually. Visit chat. Linked 2. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings.



0コメント

  • 1000 / 1000