Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-66

Windows: Can't import MariaDB with Python3.8

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 0.9.58
    • 0.9.59
    • Installation
    • None
    • Windows

    Description

      Python3.8 can't import mariadb module:

      Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AM
      D64)] on win32
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import mariadb
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      ImportError: DLL load failed while importing mariadb: The specified module could
       not be found.
      

      Attachments

        Activity

          rserge Serge Rogatch added a comment -

          Hello! I have bumped into this issue with Python 3.8.3 on Windows 10, 64-bit. Do you know why it happens and if there is a workaround I can use until a new version of Connector/Python comes out? Thanks!

          rserge Serge Rogatch added a comment - Hello! I have bumped into this issue with Python 3.8.3 on Windows 10, 64-bit. Do you know why it happens and if there is a workaround I can use until a new version of Connector/Python comes out? Thanks!
          rserge Serge Rogatch added a comment -

          I've posted a workaround at https://stackoverflow.com/a/62008919/1915854 . Thanks for fixing this in the master branch quickly!

          rserge Serge Rogatch added a comment - I've posted a workaround at https://stackoverflow.com/a/62008919/1915854 . Thanks for fixing this in the master branch quickly!

          People

            georg Georg Richter
            georg Georg Richter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.