[CONPY-66] Windows: Can't import MariaDB with Python3.8 Created: 2020-05-14  Updated: 2020-10-04  Resolved: 2020-10-04

Status: Closed
Project: MariaDB Connector/Python
Component/s: Installation
Affects Version/s: 0.9.58
Fix Version/s: 0.9.59

Type: Bug Priority: Blocker
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 1
Labels: None
Environment:

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.



 Comments   
Comment by Serge Rogatch [ 2020-05-25 ]

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!

Comment by Serge Rogatch [ 2020-05-25 ]

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

Generated at Thu Feb 08 03:29:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.