1. 报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vmJNnt/pyinstaller/
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-36erwqej/pyinstaller/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-dxnqxjlh-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-36erwqej/pyinstaller/
2. 解决方法:
pip3 install pyinstaller==4.1