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

MariaDB Connector/Python requires MariaDB Connector/C >= 3.1.3, found version 3.1.10

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1
    • Installation
    • None
    • Linux Ubuntu 18.04 lts (32bit) / Mariadb 10.4.13

    Description

      *pip3 install mariadb failed *

      after installing mariadb connector/c from source (see below) the pip3 install mariadb failed due to MariaDB Connector/Python requires MariaDB Connector/C >= 3.1.3, found version 3.1.10

      The >=3.1.3 should not occur if 3.1.10 is found

      mariadb connector install script/log:

      rm -r mariadb-connector-c/
      rm -r build
      git clone https://github.com/MariaDB/mariadb-connector-c.git
      mkdir build
      cd build
      cmake ../mariadb-connector-c/ -DCMAKE_INSTALL_PREFIX=/usr/local
      make
      make install

      Install the project...
      – Install configuration: "RelWithDebInfo"
      – Installing: /usr/local/lib/mariadb/plugin/dialog.so
      – Installing: /usr/local/lib/mariadb/plugin/client_ed25519.so
      – Installing: /usr/local/lib/mariadb/plugin/caching_sha2_password.so
      – Installing: /usr/local/lib/mariadb/plugin/sha256_password.so
      – Installing: /usr/local/lib/mariadb/plugin/mysql_clear_password.so
      – Installing: /usr/local/include/mariadb/mariadb_com.h
      – Installing: /usr/local/include/mariadb/mysql.h
      – Installing: /usr/local/include/mariadb/mariadb_stmt.h
      – Installing: /usr/local/include/mariadb/ma_pvio.h
      – Installing: /usr/local/include/mariadb/ma_tls.h
      – Installing: /usr/local/include/mariadb/mariadb_version.h
      – Installing: /usr/local/include/mariadb/ma_list.h
      – Installing: /usr/local/include/mariadb/errmsg.h
      – Installing: /usr/local/include/mariadb/mariadb_dyncol.h
      – Installing: /usr/local/include/mariadb/mariadb_ctype.h
      – Installing: /usr/local/include/mariadb/mariadb_rpl.h
      – Installing: /usr/local/include/mariadb/mysqld_error.h
      – Installing: /usr/local/include/mariadb/mysql/client_plugin.h
      – Installing: /usr/local/include/mariadb/mysql/plugin_auth_common.h
      – Installing: /usr/local/include/mariadb/mysql/plugin_auth.h
      – Installing: /usr/local/include/mariadb/mariadb/ma_io.h
      – Installing: /usr/local/lib/mariadb/libmariadbclient.a
      – Installing: /usr/local/lib/mariadb/libmariadb.so.3
      – Installing: /usr/local/lib/mariadb/libmariadb.so
      – Installing: /usr/local/bin/mariadb_config
      – Installing: /usr/local/lib/pkgconfig/libmariadb.pc

      pip3 install nmariadb log

      Collecting mariadb
      Downloading https://files.pythonhosted.org/packages/8f/c9/7050899dc1066409a17e1147d3afe1b078e582afdb755c6d3cb9c9a5c3ab/mariadb-1.0.0.tar.gz (78kB)
      100% |████████████████████████████████| 81kB 2.6MB/s
      Complete output from command python setup.py egg_info:
      10.4.3
      MariaDB Connector/Python requires MariaDB Connector/C >= 3.1.3, found version 3.1.10

      ----------------------------------------
      Command "python setup.py egg_info" failed with error code 2 in /tmp/pip-build-3j3fbw16/mariadb/

      Attachments

        Activity

          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment -

          pip3 install log

          pip3 -v install mariadb
          Collecting mariadb
          1 location(s) to search for versions of mariadb:

          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment - pip3 install log pip3 -v install mariadb Collecting mariadb 1 location(s) to search for versions of mariadb: https://pypi.python.org/simple/mariadb/ Getting page https://pypi.python.org/simple/mariadb/ Looking up "https://pypi.python.org/simple/mariadb/" in the cache Returning cached "301 Moved Permanently" response (ignoring date and etag information) Looking up "https://pypi.org/simple/mariadb/" in the cache Current age based on date: 228 Freshness lifetime from max-age: 600 Freshness lifetime from request max-age: 600 The response is "fresh", returning cached response 600 > 228 Analyzing links from page https://pypi.org/simple/mariadb/ Skipping link https://files.pythonhosted.org/packages/52/19/ebad148f9c783e63b051bf2f01e3e5e4f4d60b51b7b2c503d3b847b664ac/mariadb-0.9.52-cp36-cp36m-win32.whl#sha256=c59c53cb95ee4db3f7212b795992acf0e1d69f0b3aad1c80476541edfeec0aa8 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/2e/c5/b9d4cd3973b93790371a01a88ba9a23a773ac4ffc8db230c4f8c563cd7fb/mariadb-0.9.52-cp36-cp36m-win_amd64.whl#sha256=ff5e1cd049b74a645c9e74fcf1f7a3dd82e83ba0f7f3e0d9d01f8455c1d35fd1 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/4e/72/2972e9ea7a91399d0307d00e8f8a1dd52d1165f2e6d985edcc7854534e94/mariadb-0.9.52-cp37-cp37m-win32.whl#sha256=14219846b7103153b7ff95d5b6c993962483e9163020667c782abd35c7e7e9d2 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/cf/d7/bd6560cf0353ab40cb5bd9e0ddc6c8e2ab6627aa6d75066718853901aaaf/mariadb-0.9.52-cp37-cp37m-win_amd64.whl#sha256=a7187b6c55dcd591b04dc18823c77c2e963150a67b9e1d17b7e074e12dac835e (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/e9/dd/6bebf6aa721f32258c97e4bbed7afd87115196970608ae9f0877b31bfce8/mariadb-0.9.52-cp38-cp38-win32.whl#sha256=981610f97fc86aa2af18f5057d87a6d2fb348362c6d0a1521315a94582ef5406 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/a7/dc/ceff49d6206c39850ede64c5399df6a6f43cf12c40b83a6b2c206ca643e1/mariadb-0.9.52-cp38-cp38-win_amd64.whl#sha256=c1cf974c9c197b89e098c3ef07c3256f31ac4016f26fc930b2b1c8a9bd13f265 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link 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), version: 0.9.52 Skipping link https://files.pythonhosted.org/packages/fa/41/5b805e1c0d34d3de13c9d37b9a4a3cf3058f69a91f11628e9c77f35bf2c7/mariadb-0.9.53-cp36-cp36m-win32.whl#sha256=6c54ac90041be1707afe2c31b863c82d52fa39b82ea115790ea3791866faf07a (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/66/d2/ae1e75f2cb8ecc0aa51272d41a7dd9af15d24b92e7f23b21c38ce2b59f2f/mariadb-0.9.53-cp36-cp36m-win_amd64.whl#sha256=693cfddde7ac832a51450d417caf6cf2562d8cb1b1258d9f8ab28311f162a7a4 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/04/c1/2115089f87588db7fbda1d0f92814bdc9d03c93c42e9728ab4facd8edebd/mariadb-0.9.53-cp37-cp37m-win32.whl#sha256=bbb7246ef1929ddae38e3cf512086e9c38b82856717ab7bbde2172654c58d28b (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/a2/13/889d487bfd395c500d9d8c866fa5eed0817f280b0ec4cc2a4f12232da082/mariadb-0.9.53-cp37-cp37m-win_amd64.whl#sha256=8dc3d5c8b149559480ac58ce810f6ffe7b1434b92eed75450739967198896317 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/9e/f5/41d194ddab08d24e22c4ebee248b3ef2389112143e73d9cc4bacf3968281/mariadb-0.9.53-cp38-cp38-win32.whl#sha256=c02b58eaa49d8108dbc4f044dfc2b3bee81f47f088f1ad5a97097c0c5f6f9db4 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/a6/2a/8315ac4a1b3cf72e5adf12bffffab9f527112e8bfebb5ead8d6c0e50ff1b/mariadb-0.9.53-cp38-cp38-win_amd64.whl#sha256=a9076b08420360ac85f6af2c9c1126f01cf3ea64ea5325470594a04780a8ec2a (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/94/df/1c0d68f2f24b987b2ecb6d46175132b29da15d60a6c51bc65d4de3bf2f9c/mariadb-0.9.53.tar.gz#sha256=6cefbb3be85b932a491025c4ccfa9024cc98947426fbff6b48129e8142ee9de9 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.53 Skipping link https://files.pythonhosted.org/packages/58/ca/064d8908d485809a1f0fab26515d88a754d77d3e9a3e37c07ffab7e7d42d/mariadb-0.9.54-cp36-cp36m-win32.whl#sha256=75d804237ebe5c04d77acbfeae06f85c177f14828ab239c38ee8768abf6110d5 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/61/da/8639c6c3220815e6b3cffcc868af8a8d6cf08f1047a6a3f9cf14ab796de5/mariadb-0.9.54-cp36-cp36m-win_amd64.whl#sha256=c16ae5e83a812be9ef3633041aa28bf43ad7cee52cc771a19b139dffc60ad30d (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/c3/88/d079edbfaeb6e408d9792da368adeb6169b9ac8b067a6a78d4fa9e846096/mariadb-0.9.54-cp37-cp37m-win32.whl#sha256=e630e220a747d1de43c163083f7008c81a90e86aead9c7cf7e62902a3d8948d4 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/97/e4/221536851eb2a30d0729646aa44988c715c72dfff71dfb6cc109c1bd77d2/mariadb-0.9.54-cp37-cp37m-win_amd64.whl#sha256=d57e17b63a9021f93867217ecb72cea1b05e4414070bd8b9e7943af22230ecdc (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/8d/5a/587a0e90555c38a6741c5ca329f1891e846d29707bed66dd8a72c1204e17/mariadb-0.9.54-cp38-cp38-win32.whl#sha256=f2b34ccef050b1a13eb65b77af4c00ea3e4fc34e758adf7d40eac858b9c48eee (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/8f/ab/f70176de310a81592c9e09b785b6d1964e935f71e75d65b7fb040ebef561/mariadb-0.9.54-cp38-cp38-win_amd64.whl#sha256=fa47e4dcee0e6a2fae9293a84dfcab8a6b696968d397e5eaf53e919d22fcb103 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/99/16/d6cc180f0075ae486903003c201d7eab183caa4bdba3faec20d63c3d69e9/mariadb-0.9.54.tar.gz#sha256=2e8706f0d8f4024cf94a1255130090100ca74a44c85d4d801b227f10bfc56a86 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.54 Skipping link https://files.pythonhosted.org/packages/69/bd/c51fb7d02fff2033e1f7d213823c04d212543735c011a59f1587747e727f/mariadb-0.9.55-cp36-cp36m-win32.whl#sha256=dcaffacfaa5334d0677128058799df83dba8a9a1cae9615cff0114d02ddbf3f7 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/2b/24/e0d9392b7947b2e81c82bba19bdd1c4fe17f8aed86983dd4865db6d251ed/mariadb-0.9.55-cp36-cp36m-win_amd64.whl#sha256=b3f707af1ec8a249d95f39aff0b6c2773aead465f84f1b58aabca567e4941661 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/bd/9d/acafba53acd0e11d3a920ac9cdac77b56d955cf83474695fb8faed5af79d/mariadb-0.9.55-cp37-cp37m-win32.whl#sha256=d85f0b991e5804a0ebfbad04ad727cd6a28c036e9f0c209e6b64d21fe46aa897 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/3c/6f/4ecad70aeb5b6f3b1f4618b29e606b42e60ceba5f09d8305461e30d200f8/mariadb-0.9.55-cp37-cp37m-win_amd64.whl#sha256=4b4000bf5b48152cade2c2d3b9eb03747d6126d29e09d91a6f6b0ceda18433b8 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/2d/d0/54d80533f84636191bb6ee5d9ee1c8e3a1e72f64926ec996d9dd0f392284/mariadb-0.9.55-cp38-cp38-win32.whl#sha256=ecd4cc5ea65ede7338b58d1cb8ad1cd5db01e5541c3a0b6a702aa25a4eefa62b (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/d7/3c/f08b7287f735e5c66bfd138f54affe52b1c64e5f3f04dea5af17ff16da9b/mariadb-0.9.55-cp38-cp38-win_amd64.whl#sha256=4c19dc5c4db4c5d0612df3105dec2cd9a5e6886a635060b17b55bb56ddc4b2f3 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/7d/58/9277c227669bae5c3605eea5a1f136f199188b4b7be4b4e2a96f96c84877/mariadb-0.9.55.tar.gz#sha256=c3e2d1d7b8eb975e64242fc0ebf4b0cfe096cd3df5e94c82894f4d53dfce7913 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.55 Skipping link https://files.pythonhosted.org/packages/c7/09/7052f798df0ad66f1b7ea15ad333b7b4fd99605e1311fcece4575fe59db4/mariadb-0.9.56-cp36-cp36m-win32.whl#sha256=d8ee5bc51edd8bfd1fc8bbcabc32ba74e68d664cb0d970b2904fe621259e379a (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/61/8f/b5bdb054d530a43264690ab452349e073f3f088b17b9b0fb4c0a321c04a2/mariadb-0.9.56-cp36-cp36m-win_amd64.whl#sha256=8a337eaab4628ae0dfd214b88ac13b7cc03fff9af6132620641d60788f936221 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/a2/3a/60e0ab33f755ae6ecd7a001ec5a5d5b5c9851ebd04269628af3b9e8cfd42/mariadb-0.9.56-cp37-cp37m-win32.whl#sha256=83870c57be1aca400daee53921ee92e8ff5a438825c7313d424af59e9bedcea2 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/88/94/7c07ab05962f2f2ff1c517d0b12d4b10ac6bd16c708d83bd593e9dc9bb57/mariadb-0.9.56-cp37-cp37m-win_amd64.whl#sha256=5a522bc915fa168c86d7fd1ac81452d0f549450ebb4bf401c834a7a9944e0e09 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/bc/36/7c5ad9d2e2be03394b27682b9f2ea268facf6f9feb30f1a4c82b7e28b6e3/mariadb-0.9.56-cp38-cp38-win32.whl#sha256=0bb0573c462be9e8738a9d387c9dfbb902e215d2f725bcbc5dcae4869f84d88e (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/ed/ef/c3cd103eb14a75510f93957743bc53a4f4014eaf75bd44afb2e6d3f6f399/mariadb-0.9.56-cp38-cp38-win_amd64.whl#sha256=472dc638d15239b743dc5d081d59046261d99f5d745075debd4537066d9d191c (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/ba/8a/8a8db9b28afe901c51c171ef96bee7706c8875152a81974201b77a0a5e9e/mariadb-0.9.56.tar.gz#sha256=c66777108b94c3b4645b97bee25d557871bf0285531db2ae31788c8248bd52b9 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.56 Skipping link https://files.pythonhosted.org/packages/58/af/88977874748128518780527be23ca0f9a5cf80e21709ca448655106eb2e1/mariadb-0.9.57-cp36-cp36m-win32.whl#sha256=3f1b7241b949f3d9b30bf8b9d72bcd063d6b08d444b0af708c823a45c353e1ae (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/ac/a2/9e4c255c1d3bb698efbef7520eb0f7fbe9fd7bf82034b36df9821e47166d/mariadb-0.9.57-cp36-cp36m-win_amd64.whl#sha256=b4a84eeb735fa43656229fb4d1f231f0d3333084e63ee74897b3f71d25ab881a (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/1a/9a/e85f0dba43220053a52d8303758250ba3e8e95ace28991e1953cb94535a2/mariadb-0.9.57-cp37-cp37m-win32.whl#sha256=826f1731cc9fd8a2b81b638d60a3ee6fbc92a805a8a5c7ff8b1e05c262767cea (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/a8/70/f484a70b4db50ea1cddb0f7eb326cb7ef41aa6d542a5431c7af654973241/mariadb-0.9.57-cp37-cp37m-win_amd64.whl#sha256=2affcb935e72141627a2e1c2da6b3b087c3df0734bb184ef969ffba58c72af8f (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/7e/5b/c10522b6c6f7fd22fc0bfaaf896d8400f16de498956e1e52a84899086275/mariadb-0.9.57-cp38-cp38-win32.whl#sha256=40fe3a5d2091374822ea9dbd87cbb5cc15dd624c79c3be763f6efaa3c83294da (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/ee/1c/c544354b2bfa040f53661270939da5319cc951559b92dc7caa8de814a9e1/mariadb-0.9.57-cp38-cp38-win_amd64.whl#sha256=2622478c41f62fcecd3d2a180fdffdd689e9fa13e205c521e96f11fd64c8c0ed (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/8b/0a/f1691cd95ab780fabcc891ceb71a64a101d18aadb8cf07a86ef9eb9f823c/mariadb-0.9.57.tar.gz#sha256=e5b33d95121eef76137219ce02478b1ba06e900f055cf7dde7c748c53c5ff377 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.57 Skipping link https://files.pythonhosted.org/packages/62/80/2885040bef955cc484d828125d2931fe107036457177310e84a6373809db/mariadb-0.9.58-cp36-cp36m-win32.whl#sha256=7fecff686159271de1e0a03a801d7d55b3cfcbcfcc0e3125c165374ad121a965 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/8c/e7/f2ed966332de45f97a770e784c1d450c3e3c8c74cbabd482beb257208606/mariadb-0.9.58-cp36-cp36m-win_amd64.whl#sha256=0e8872ea48ec2754277193a7bb94b90196a07ee36b61cc35ef6a71b51071c5b2 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/6c/e3/bf916a78557e46700e1179363362174dbf39afadf38b88d2fa254737c7ec/mariadb-0.9.58-cp37-cp37m-win32.whl#sha256=17ea45cbb9bfd7e8dbb672f34fd49a2ce2533fdb58220cfd61a82936c9d30786 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/a8/ed/55ebf9559c78489b89fb450f6f2abf4fc8ed55a8a906901e2577426b9e9c/mariadb-0.9.58-cp37-cp37m-win_amd64.whl#sha256=37e8182510b7958155240701f43e8ba321c8a9f8f18610d8e275d526ae1291d0 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/b9/13/988f4a2c08f04753dea9b45251c1201d88d847c4eb3823ae5bb94b2c1431/mariadb-0.9.58-cp38-cp38-win32.whl#sha256=5c196d65dbc7cca14dd536e6e02e74c78b3e3da19481f0b13626795913685b88 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/45/b4/faca7d95c55d03998d1f926df46ce4dfcbc680bb3a9e74e64923b27459f1/mariadb-0.9.58-cp38-cp38-win_amd64.whl#sha256=8be5154008d484279471e8e295587049430f747295a46da1eda3d1eec5d0771f (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/1e/18/f3ecade20a1bb45ace7b002b98ff8d46a72aa7895301ebf3d69ddccb7806/mariadb-0.9.58.tar.gz#sha256=4c3c8adc3957242f196fb040d24feb99b544caa85ae262e5d911b4a5444de6a7 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.58 Skipping link https://files.pythonhosted.org/packages/40/bf/401a0ca419001557bcb50065cd7a2c61d6a8e6804c5a14e0c662382a58f9/mariadb-0.9.59-cp36-cp36m-win32.whl#sha256=f96855fd2b33c4aef11f6e956845434cc99c65b371021330f1b92c01194baa23 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/56/db/7670d122ab69018555f846cd6faa70e8e49c41a9d3d488b6fe99c0c68c48/mariadb-0.9.59-cp36-cp36m-win_amd64.whl#sha256=9fbfca335613db38e80d316b303ceee1d7afa9d8b4884a0e8f7e62ac5d42ebdb (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/8c/f8/d6c25b01c145bff9149d37d3eea7efbf4a000b5bc2638a2fb24f3f078a70/mariadb-0.9.59-cp37-cp37m-win32.whl#sha256=8d50ef84d6bdc12f07eb44bfaea398b464aa15a8201dd584523f4e2a43849279 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/53/4b/45c3bdeae670bcc3f3c98352161901ea40371f569b3660b196d041799b14/mariadb-0.9.59-cp37-cp37m-win_amd64.whl#sha256=8053a7e8fbac78323d968090f76ff53f0593025dc31ab9e27671e86e2a462ca7 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/06/e9/79c522ff86e669ae43ff10aa1059186d164223d9362e9a13398a3b047335/mariadb-0.9.59-cp38-cp38-win32.whl#sha256=a03b1b5006919df807d9750c9b38b2ad5c9f4aeab94da2825bf424f1b597e28e (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/8d/ad/28c0e2a95721fe90a488be3e08a29cfeb4ef9508f6ebe82239a624663ba1/mariadb-0.9.59-cp38-cp38-win_amd64.whl#sha256=ff5ecc919118f07474a1d4179a632898b3ef65748bfbd177c22463c526a052c3 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/ca/55/872c5b1fb3d00c0f690011d3e62d8c27e2be043e6b8efae5636620dee2e6/mariadb-0.9.59.tar.gz#sha256=7a952b9a29e37757976afe791f067fef21ebcbd416a486b8d77ab29da0b16172 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 0.9.59 Skipping link https://files.pythonhosted.org/packages/35/63/727e671fc8d6f76bc4a449bef68ea4f2d0a344796e191baca663c75c737c/mariadb-1.0.0-cp36-cp36m-win32.whl#sha256=457466ddc8b486b67174eeb44ff5f940901f474a1f93e75cee8e4010b9d07d9b (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/2c/ce/a0c973ff3034ead4ff722937259bec2e3bbdce3a9bb4ec6272f3fb2930bd/mariadb-1.0.0-cp36-cp36m-win_amd64.whl#sha256=5721e64aae414d31525c8a6ae256ecdbf071d5791486c3ff1b19fc7c66091df4 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/37/9a/f173acae9044d95744825dd7bc6935367b5cd2927299bcf11b622271ced4/mariadb-1.0.0-cp37-cp37m-win32.whl#sha256=49c0bacdecc308ab519dbaa17da4dbbed53c86a34de40c657ac109642dabede3 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/da/1d/0dfbc107bb62cda14aa984badec8da06a0c01bf3fbdffee20ed6a3c41c39/mariadb-1.0.0-cp37-cp37m-win_amd64.whl#sha256=f40d9c1fc0e02326f51ca80c1213cc9f0a42e79becbdcaf454ab790f4e8cd9f6 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/3d/86/f2cd62afc8e37f9cedce36a48a1242c3053f929e280e908c7aea533703d5/mariadb-1.0.0-cp38-cp38-win32.whl#sha256=92ca98ec845ffacdf4cb556210e72ee48fa15140b0dd0c081b0a714dc3fbbdcf (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Skipping link https://files.pythonhosted.org/packages/ff/5d/5329ce401f3e7fee8752e7d47ba4545c6ea42478b770d721b59e266fac3d/mariadb-1.0.0-cp38-cp38-win_amd64.whl#sha256=9db492cf5cbf45189d8f11aa30280ba9a49bcf44e6fb78cefe436efdfec2b883 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6); it is not compatible with this Python Found link https://files.pythonhosted.org/packages/8f/c9/7050899dc1066409a17e1147d3afe1b078e582afdb755c6d3cb9c9a5c3ab/mariadb-1.0.0.tar.gz#sha256=3feeea1e103acb60dacce7d828236e5f20b334dc04b571847d80823d37671db3 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6), version: 1.0.0 Using version 1.0.0 (newest of 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) Looking up "https://files.pythonhosted.org/packages/8f/c9/7050899dc1066409a17e1147d3afe1b078e582afdb755c6d3cb9c9a5c3ab/mariadb-1.0.0.tar.gz" in the cache Current age based on date: 2371 Freshness lifetime from max-age: 365000000 The response is "fresh", returning cached response 365000000 > 2371 Using cached https://files.pythonhosted.org/packages/8f/c9/7050899dc1066409a17e1147d3afe1b078e582afdb755c6d3cb9c9a5c3ab/mariadb-1.0.0.tar.gz Downloading from URL https://files.pythonhosted.org/packages/8f/c9/7050899dc1066409a17e1147d3afe1b078e582afdb755c6d3cb9c9a5c3ab/mariadb-1.0.0.tar.gz#sha256=3feeea1e103acb60dacce7d828236e5f20b334dc04b571847d80823d37671db3 (from https://pypi.org/simple/mariadb/ ) (requires-python:>=3.6) Running setup.py (path:/tmp/pip-build-_7avdblx/mariadb/setup.py) egg_info for package mariadb Running command python setup.py egg_info 10.4.3 MariaDB Connector/Python requires MariaDB Connector/C >= 3.1.3, found version 3.1.10 Cleaning up... Command "python setup.py egg_info" failed with error code 2 in /tmp/pip-build-_7avdblx/mariadb/ Exception information: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 634, in _prepare_file abstract_dist.prep_for_dist() File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 129, in prep_for_dist self.req_to_install.run_egg_info() File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 439, in run_egg_info command_desc='python setup.py egg_info') File "/usr/lib/python3/dist-packages/pip/utils/_ init _.py", line 725, in call_subprocess % (command_desc, proc.returncode, cwd)) pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 2 in /tmp/pip-build-_7avdblx/mariadb/
          georg Georg Richter added a comment -

          Fixed. rev. c6ad169f8707352d138d27a324563f349ed5a2b3

          georg Georg Richter added a comment - Fixed. rev. c6ad169f8707352d138d27a324563f349ed5a2b3
          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment - - edited

          The problem is caused in the installation script of mariadb which does an alphanumeric comparison instead of a numeric comparison to check versions. (3.1.3 is lower than 3.1.10, where 3.1.3. is higher than 3.1.1)

          Pls ignore strikethrough!

          The given answer was not the solution (for a Ubuntu 18.04 LTS Mariadb 10.4.13 compiled from source).

          My solution is:

          1. Download and Compile the 3.1.9 mariadb connector/c (see script below)
          2. After install, in case your option -DCMAKE_INSTALL_PREFIX=/usr/local option is CMAKE is not /usr, do:
          • rm /usr/lib/libmariadb.so.3
          • ln -s /usr/local/lib/mariadb/libmariadb.so.3 /usr/lib/libmariadb.so.3
          1. then pip3 install mariadb

          install script connector/c for ubuntu 18.04 lts and mariadb 10.4.13

          script.sh

          version=$1
          rm r mariadb-connector-c$version/
          rm -r build

          wget O mariadb-connector-c$version.tar.gz https://downloads.mariadb.org/interstitial/connector-c-$version/mariadb-connector-c-3.1.9-src.tar.gz/from/http%3A//mirrors.supportex.net/mariadb/

          tar xvf mariadb-connector-c$version.tar.gz

          mkdir build
          cd build

          cmake ../mariadb-connector-c-$version-src/ -DCMAKE_INSTALL_PREFIX=/usr/local
          make
          make install

          rm /usr/lib/libmariadb.so.3
          ln -s /usr/local/lib/mariadb/libmariadb.so.3 /usr/lib/libmariadb.so.3

          pip3 install mariadb

          run

          bash script.sh 3.1.9

          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment - - edited The problem is caused in the installation script of mariadb which does an alphanumeric comparison instead of a numeric comparison to check versions. (3.1.3 is lower than 3.1.10, where 3.1.3. is higher than 3.1.1) Pls ignore strikethrough! The given answer was not the solution (for a Ubuntu 18.04 LTS Mariadb 10.4.13 compiled from source). My solution is: Download and Compile the 3.1.9 mariadb connector/c (see script below) After install, in case your option -DCMAKE_INSTALL_PREFIX=/usr/local option is CMAKE is not /usr , do: rm /usr/lib/libmariadb.so.3 ln -s /usr/local/lib/mariadb/libmariadb.so.3 /usr/lib/libmariadb.so.3 then pip3 install mariadb install script connector/c for ubuntu 18.04 lts and mariadb 10.4.13 script.sh version=$1 rm r mariadb-connector-c $version/ rm -r build wget O mariadb-connector-c $version.tar.gz https://downloads.mariadb.org/interstitial/connector-c-$version/mariadb-connector-c-3.1.9-src.tar.gz/from/http%3A//mirrors.supportex.net/mariadb/ tar xvf mariadb-connector-c $version.tar.gz mkdir build cd build cmake ../mariadb-connector-c-$version-src/ -DCMAKE_INSTALL_PREFIX=/usr/local make make install rm /usr/lib/libmariadb.so.3 ln -s /usr/local/lib/mariadb/libmariadb.so.3 /usr/lib/libmariadb.so.3 pip3 install mariadb run bash script.sh 3.1.9
          georg Georg Richter added a comment -

          And what is wrong with the fix?

          georg Georg Richter added a comment - And what is wrong with the fix?
          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment -

          Sorry, but I can't see any mentioned fix by you. I only see this: Fixed. rev. c6ad169f8707352d138d27a324563f349ed5a2b3

          Where I'm missing the point?

          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment - Sorry, but I can't see any mentioned fix by you. I only see this: Fixed. rev. c6ad169f8707352d138d27a324563f349ed5a2b3 Where I'm missing the point?
          georg Georg Richter added a comment -

          This refers to the commit/revision number in git. See https://github.com/mariadb-corporation/mariadb-connector-python/commit/c6ad169f8707352d138d27a324563f349ed5a2b3 - the fix will be in 1.0.1

          georg Georg Richter added a comment - This refers to the commit/revision number in git. See https://github.com/mariadb-corporation/mariadb-connector-python/commit/c6ad169f8707352d138d27a324563f349ed5a2b3 - the fix will be in 1.0.1
          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment -

          vincent.lemoine@iwa-consult.nl V H Lemoine added a comment -

          People

            georg Georg Richter
            vincent.lemoine@iwa-consult.nl V H Lemoine
            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.