use python 3.8 instead of 3.6 mac code example Example: mac install python 3.8 brew install python@3.8