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

Throws error when installing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • Installation
    • None
    • Pi OS
    • 3.9

    Description

      >pip3 install mariadb

      throws:

      pi@camPi:~ $ pip3 install mariadb
      Defaulting to user installation because normal site-packages is not writeable
      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Collecting mariadb
      Downloading mariadb-1.1.4.zip (97 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.4/97.4 kB 727.2 kB/s eta 0:00:00
      Preparing metadata (setup.py) ... error
      error: subprocess-exited-with-error

      × python setup.py egg_info did not run successfully.
      │ exit code: 1
      ╰─> [8 lines of output]
      Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/tmp/pip-install-0of4ctfp/mariadb_8d26959a6287418381b219357b8a7517/setup.py", line 27, in <module>
      cfg = get_config(options)
      File "/tmp/pip-install-0of4ctfp/mariadb_8d26959a6287418381b219357b8a7517/mariadb_posix.py", line 64, in get_config
      print('MariaDB Connector/Python requires MariaDB Connector/C '
      TypeError: not enough arguments for format string
      [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
      error: metadata-generation-failed

      × Encountered error while generating package metadata.
      ╰─> See above for output.

      note: This is an issue with the package mentioned above, not pip.
      hint: See above for details.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              ak2 anthony
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.