I am using anaconda with python3.6 built in. I saw a python script with import MySQLdb
. I have searched from google that I need to install mysql-python (I have installed mysql in my local PC). I type conda install mysql-python
, but it seems that I meet a conflict as below. I have uninstalled python2.x from my PC, so I don't know what this message is saying.
enter image description here
Cound you please tell me how can I install mysql-python ??
when I type python --version
, it gets:Python 3.6.1 :: Anaconda 4.4.0 (64-bit)
.
when I type conda install mysql-python
,it gets:
Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- mysql-python -> python 2.6*
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.