Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requirements.txt error mysql-connector 2.1.4 #42

Open
chppppp opened this issue Oct 24, 2019 · 2 comments
Open

requirements.txt error mysql-connector 2.1.4 #42

chppppp opened this issue Oct 24, 2019 · 2 comments

Comments

@chppppp
Copy link

chppppp commented Oct 24, 2019

There seems to be an issue with mysql-connector 2.1.4

(venv) lou@frickyou:~/lou/React-Redux-Flask$ pip install -r requirements.txt 
Collecting alembic==0.8.7 (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/46/16/77633a0de8b434b66e7d95ffff9606773ccb808ceb7e9528ac7daf3136a5/alembic-0.8.7.tar.gz
Collecting bcrypt==3.1.0 (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/9b/32/1ece045aa19069ca687d5ccd1241e03a70cae157ae908b6aa5b97789e6da/bcrypt-3.1.0.tar.gz
Collecting cffi==1.7.0 (from -r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/83/3c/00b553fd05ae32f27b3637f705c413c4ce71290aa9b4c4764df694e906d9/cffi-1.7.0.tar.gz
Collecting click==6.6 (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/1c/7c/10b4132dd952b6a04e37626258825b8aa8c1eb99545f2eb26a77c21efb55/click-6.6-py2.py3-none-any.whl
Collecting coverage==4.2 (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/53/fe/9e0fbdbca15c2c1253379c3a694f4315a420555e7874445b06edeaeacaea/coverage-4.2.tar.gz
Collecting Flask==0.11.1 (from -r requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Bcrypt==0.7.1 (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/1d/c0/6d4c04d007d72b355de24e7a223978d1a95732245f9e9becbf45d3024bf8/Flask-Bcrypt-0.7.1.tar.gz
Collecting Flask-Migrate==2.0.0 (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/d4/42/9e1bab5b15495e7acd25cb6b164a050b90da20af7e801aa2a7b1f74efdfa/Flask-Migrate-2.0.0.tar.gz
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/66/e9/2b3c7c548a6bad0b59da21e2050613da43aae4da617fb98847efa3e09a43/Flask-Script-2.0.5.tar.gz
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/b3/52/227aaf4e8cebb153e239c518a9e916590b2fe0e4350e6b02d92b546b69b7/Flask-SQLAlchemy-2.1.tar.gz
Collecting Flask-Testing==0.5.0 (from -r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/2e/1e/63bb840ed2c1bffc1c3ba2541a63dcf4538b2cf6e2801ea80057cb0737ef/Flask-Testing-0.5.0.tar.gz
Collecting GitHub-Flask==3.1.3 (from -r requirements.txt (line 12))
  Using cached https://files.pythonhosted.org/packages/3a/44/ad6460d22f3482adde579efa837169f57cc2b6ccd5d1f5b2ec7fc5018060/GitHub-Flask-3.1.3.tar.gz
Collecting gunicorn==19.6.0 (from -r requirements.txt (line 13))
  Using cached https://files.pythonhosted.org/packages/72/de/ec28a64885e0b390063379cca601b60b1f9e51367e0c76030ac8a5cddd5e/gunicorn-19.6.0-py2.py3-none-any.whl
Collecting itsdangerous==0.24 (from -r requirements.txt (line 14))
Collecting Jinja2==2.8 (from -r requirements.txt (line 15))
  Using cached https://files.pythonhosted.org/packages/96/a1/c56bc4d99dc2663514a8481511e80eba8994133ae75eebdadfc91a5597d9/Jinja2-2.8-py2.py3-none-any.whl
Collecting Mako==1.0.4 (from -r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/7a/ae/925434246ee90b42e8ef57d3b30a0ab7caf9a2de3e449b876c56dcb48155/Mako-1.0.4.tar.gz
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 17))
  Using cached https://files.pythonhosted.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz
Collecting mysql-connector==2.1.4 (from -r requirements.txt (line 18))
  Could not find a version that satisfies the requirement mysql-connector==2.1.4 (from -r requirements.txt (line 18)) (from versions: 2.1.7, 2.2.9)
No matching distribution found for mysql-connector==2.1.4 (from -r requirements.txt (line 18))

I will try 2.1.7 and report any issues that I find.

my pip version: pip 9.0.1 from /React-Redux-Flask/venv/lib/python3.6/site-packages (python 3.6)

@chppppp chppppp closed this as completed Oct 25, 2019
@dternyak
Copy link
Owner

@chppppp Did you end up getting this resolved? If so, it might be helpful for onlookers to learn how you did in case they run into the same issue.

@chppppp
Copy link
Author

chppppp commented Oct 25, 2019

I was able to deploy the project using mysql-connector 2.1.7 without any issues. Might be worth updating the packages.json in the repo.

@dternyak dternyak reopened this Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants