fix bug when didn't install flake8