Open yaswanthmangalagiri opened 3 years ago
Amazon Linux 2 comes with mariadb-devel
preinstalled afaik. eb ssh
and try rpm -qa | grep -E '(mariadb|mysql)'
packages:
yum:
mariadb-devel: []
to .ebextensions if you're missing this package
@yaswanthmangalagiri Try updating the requirements.txt
file to use mysqlclient==2.0.3
. The dependency in the file and the version for mysqlclient
in the error don't match for some reason.
@saranshsingh1 I think there is something else at play here:
WARNING: Discarding https://files.pythonhosted.org/packages/3c/df/59cd2fa5e48d0804d213bdcb1acb4d08c403b61c7ff7ed4dd4a6a2deb3f7/mysqlclient-2.0.3.tar.gz#sha256=f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432 (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3.5). 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 mysqlclient==2.0.3 (from versions: 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11rc1, 1.3.11, 1.3.12, 1.3.13, 1.3.14, 1.4.0rc1, 1.4.0rc2, 1.4.0rc3, 1.4.0, 1.4.1, 1.4.2, 1.4.2.post1, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 2.0.0, 2.0.1, 2.0.2, 2.0.3)
ERROR: No matching distribution found for mysqlclient==2.0.3
Suggests that the 2.0.3 version that is available has been discarded because the requirement: python >= 3.5 hasn't been satisfied. This suggests that not even python is being loaded correctly.
Hi, I was trying to deploy my Django application on Elastic bean and the requirement.txt file contents are as follows
when I ran
eb deploy
from my local the mysqlclient installation is failing with the below error.I deployed the same app on Heroku it worked fine ran the app without errors.