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

tried to install mariadb through pip on linux arch an exception araised

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • None
    • N/A
    • Installation
    • None

    Description

      Using cached mariadb-0.9.52.tar.gz (72 kB)
      Preparing metadata (setup.py) ... error
      ERROR: Command errored out with exit status 1:
      command: /usr/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9xj1hg5a/mariadb_6364e3854095443fbf00ec4a9270e6c6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9xj1hg5a/mariadb_6364e3854095443fbf00ec4a9270e6c6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1us9252s
      cwd: /tmp/pip-install-9xj1hg5a/mariadb_6364e3854095443fbf00ec4a9270e6c6/
      Complete output (12 lines):
      /bin/sh: line 1: mariadb_config: command not found
      Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-9xj1hg5a/mariadb_6364e3854095443fbf00ec4a9270e6c6/setup.py", line 24, in <module>
      cfg = get_config(options)
      File "/tmp/pip-install-9xj1hg5a/mariadb_6364e3854095443fbf00ec4a9270e6c6/mariadb_posix.py", line 49, in get_config
      cc_version = mariadb_config(config_prg, "cc_version")
      File "/tmp/pip-install-9xj1hg5a/mariadb_6364e3854095443fbf00ec4a9270e6c6/mariadb_posix.py", line 26, in mariadb_config
      raise EnvironmentError(
      OSError: mariadb_config not found.
      Please make sure, that MariaDB Connector/C is installed on your system, edit the configuration file 'site.cfg' and set the 'mariadb_config'
      option, which should point to the mariadb_config utility.
      ----------------------------------------
      WARNING: Discarding https://files.pythonhosted.org/packages/d9/70/d5048fa20d2cd986181094cc35ccae284f36e80fe61e2821b79d281b03a2/mariadb-0.9.52.tar.gz#sha256=554e7067ea68430fb7c3b4df1be7c9f2ff3ab7bf806c2d9076f959645e7a96de(from https://pypi.org/simple/mariadb/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
      ERROR: Could not find a version that satisfies the requirement mariadb (from versions: 0.9.52, 0.9.53, 0.9.54,0.9.55, 0.9.56, 0.9.57, 0.9.58, 0.9.59, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0a1, 1.1.0b1, 1.1.0b2)
      ERROR: No matching distribution found for mariadb
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            krigjo25 Kristoffer Gjøsund
            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.