Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

mysql-connector-python==2.1.4 does not exist in PIP repos (cant install) #368

Closed
BarbzYHOOL opened this issue Oct 30, 2019 · 3 comments
Closed

Comments

@BarbzYHOOL
Copy link
Contributor

BarbzYHOOL commented Oct 30, 2019

Error:

    :stderr:   Could not find a version that satisfies the requirement mysql-connector-python==2.1.4 (from mysql-autoxtrabackup==1.5.2) (from versions: 8.0.5, 8.0.6, 8.0.11, 8.0.12, 8.0.13, 8.0.14, 8.0.15, 8.0.16, 8.0.17, 8.0.18)
    No matching distribution found for mysql-connector-python==2.1.4 (from mysql-autoxtrabackup==1.5.2)

How can we make it work so that it downloads always the right dependency version?

There is this in the code:

    install_requires=[
        'click>=3.3',
        'mysql-connector-python==2.1.4',
        'pid>=2.0',
        'humanfriendly>=2.0',
        'pytest'
    ],
    dependency_links=['https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-2.1.4.tar.gz'],

With the correct link, but apparently PIP tries to install it from PIP repos where it has been removed from.

@dakine1111 @ShahriyarR

@BarbzYHOOL
Copy link
Contributor Author

ok what about this:

    install_requires=[
        'click>=3.3',
        'mysql-connector==2.2.9',
        'pid>=2.0',
        'humanfriendly>=2.0',
        'pytest'
    ],

@BarbzYHOOL
Copy link
Contributor Author

I did that, it installed correctly but I haven't tried the program itself yet

@ShahriyarR
Copy link
Owner

Fixed as part of #347

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants