I am trying to make use of MySQLdb in Pycharm/Python 2.7, however I am unable to import the MySQLdb module at all. I get the following error:
(calendar_cron) Macbook-Pro:calendar_cron user$ pip install MySQLdb
Collecting MySQLdb
Could not find a version that satisfies the requirement MySQLdb (from versions: )
No matching distribution found for MySQLdb
I have tried the following:
- Updating pip using Homebrew
brew install python@2
- Updating pip (now running v10.0.1)
I have to be honest, am somewhat perplexed by the nature of the problem. Cannot establish whether it is due to OpenSSL being an old version or something else. Some guidance would be very welcome.
EDIT: I have also tried installing MySQLdb-python
, same error