Mysqlclient not found even after installed in Django on MacOS
I use pyenv
to create a virtual-env, and install mysqlclient
in it successfully. But when I python manage.py runserver
, it shows 'Did you install mysqlclient?'. How to resoleve it? I try it both in terminal and PyCharm, all did not work. I also looked up a lot of technical forums and basically said that the virtual environment mismatch is the reason, and no one is in the same situation as me.