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

Issue with: conda install mysql-python #1717

Closed
pathaine opened this issue May 11, 2017 · 2 comments
Closed

Issue with: conda install mysql-python #1717

pathaine opened this issue May 11, 2017 · 2 comments

Comments

@pathaine
Copy link

pathaine commented May 11, 2017

Hello, I get the following error when running "conda install mysql-python" on Ubuntu 16.04:

UnsatisfiableError: The following specifications were found to be in conflict:

  • mysql-python -> python 2.7* -> openssl 1.0.1*
  • python 3.6*
    Use "conda info " to see the dependencies for each package.

Thank you in advance!

@nehaljwani
Copy link

The mysql-python conda package hasn't been built for python 3 . You can try creating a python 2.7 environment and install mysql-python into that.

(root) bash-4.1# conda create -yn py27 python=2.7 mysql-python
(root) bash-4.1# source activate py27
(py27) bash-4.1# python -c 'import MySQLdb; print(MySQLdb.__version__)'
1.2.5

@pathaine
Copy link
Author

Oh, I see. Thank you!

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