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

MySQL / Python Missing #4

Open
mubix opened this issue Mar 10, 2018 · 2 comments
Open

MySQL / Python Missing #4

mubix opened this issue Mar 10, 2018 · 2 comments

Comments

@mubix
Copy link

mubix commented Mar 10, 2018

TASK [ansible-scoringengine-role : WEB | MYSQL | Create scoring_engine database] ***********************************************************
fatal: [172.16.0.4]: FAILED! => {"changed": false, "msg": "The MySQL-python module is required."}
	to retry, use: --limit @/tmp/scoreboard/scoreboard.retry
@mubix
Copy link
Author

mubix commented Mar 10, 2018

This is what happens when I try to add it in the code:

TASK [ansible-scoringengine-role : Install the Python MySQLB module] ***********************************************************************
fatal: [172.16.0.4]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/pip install MySQL-python", "msg": "stdout: Collecting MySQL-python\n  Using cached MySQL-python-1.2.5.zip\n    Complete output from command python setup.py egg_info:\n    Traceback (most recent call last):\n      File \"<string>\", line 1, in <module>\n      File \"/tmp/pip-build-mctfp__u/MySQL-python/setup.py\", line 13, in <module>\n        from setup_posix import get_config\n      File \"/tmp/pip-build-mctfp__u/MySQL-python/setup_posix.py\", line 2, in <module>\n        from ConfigParser import SafeConfigParser\n    ImportError: No module named 'ConfigParser'\n    \n    ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-mctfp__u/MySQL-python/\n"}

@RustyBower
Copy link
Collaborator

Added in the most recent master

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