刚开始用的pip install pyinstaller
第一次安装时出现这个问题:
Collecting pyinstaller
Downloading https://files.pythonhosted.org/packages/e2/c9/0b44b2ea87ba36395483a672fddd07e6a9cb2b8d3c4a28d7ae76c7e7e1e5/PyInstaller-3.5.tar.gz (3.5MB)
7% |██▌ | 276kB 434kB/s eta 0:00:08Exception:
Traceback (most recent call last):
File "F:\Python\venv\lib\site-packages\pip-10.0.1-py3.7.egg\pip\_vendor\urllib3\response.py", line 302, in _error_catcher
yield
感到莫名其妙,又尝试了一次
pip install pyinstaller
Collecting pyinstaller
https://files.pythonhosted.org/packages/e2/c9/0b44b2ea87ba36395483a672fddd07e6a9cb2b8d3c4a28d7ae76c7e7e1e5/PyInstaller-3.5.tar.gz (3.5MB)
100% |████████████████████████████████| 3.5MB 285kB/s
又莫名其妙的好了,不得不说真的很玄学!!!!
然后开始使用pyinstaller打包文件,结果又来了这个错误:
'\pyinstaller' 不是内部或外部命令ÿ