Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 1.1.6
    • N/A
    • Installation
    • PyCharm 2023.1 on MacOS (Ventura)
    • 3.11

    Description

      I've tried to install the MariaDB python package (as is available on PyPi) via PyCharm but it errors as I don't have the C connector installled. Relevent part of the error:

      raise EnvironmentError(
            OSError: mariadb_config not found.
            
            This error typically indicates that MariaDB Connector/C, a dependency which
            must be preinstalled, is not found.
      

      I understand the performance benefits of your design but your connector is now platform dependant. As a python developer I just want to grab a package from PyPi and start using using it.

      As I don't want to start building and installing C programs from source (or via homebrew) it seems I will have to look for an alternative. Such a shame.

      Attachments

        Activity

          georg Georg Richter added a comment - It's neither a shame nor a bug - See https://mariadb-corporation.github.io/mariadb-connector-python/install.html#prerequisites

          Thanks for taking the time to reply. Just to point out, I didn't list this as a bug and I had read the prerequisites you linked to but, as I said, I'm not interested in building c programs from source. As a workaround, I have found the MySQL connector works for my usage. The package is written in python with the option of using a 'c extension', a much better design from a python developers view point, imho.

          It would be good if you could support macOS in the future without the need to build from scratch. I notice there are prebuilt binaries for other platforms. Better still, to have a cross-platform, native python connector either as an option or with a c extension for those that need it.

          alleycat Paul Griffiths added a comment - Thanks for taking the time to reply. Just to point out, I didn't list this as a bug and I had read the prerequisites you linked to but, as I said, I'm not interested in building c programs from source. As a workaround, I have found the MySQL connector works for my usage. The package is written in python with the option of using a 'c extension', a much better design from a python developers view point, imho. It would be good if you could support macOS in the future without the need to build from scratch. I notice there are prebuilt binaries for other platforms. Better still, to have a cross-platform, native python connector either as an option or with a c extension for those that need it.

          People

            georg Georg Richter
            alleycat Paul Griffiths
            Votes:
            0 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.