may be you should use other source..choice one
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package -r requirements.txt
pip install -r requirements.txt
use config.ini...
config.example.ini may be change
pyinstaller -F -c -i mao.ico main.py