this is a common issue in deployment. it works for me when I'll update the pip and wheel:
python -m pip install --upgrade pip setuptools wheel I hope this fix the issue.