'RuntimeError: Failed to lock to Pipfile.lock"

I use windows and when I switched to WSL/Linux in section three to download celery I got the error stated above. It was when I tried the command ‘pipenv install’ to install the projects dependencies.

I got the same error in wsl.
It was when I tried “pipenv install mysqlclient”

even i have the same issue on my new mac. any solution?

it worked. what I did was, I tried to install the previous version of mysqlclient. that is pipenv install mysqlclient==2.1.1

and it worked…