【发布时间】:2019-06-18 12:13:21
【问题描述】:
来自 c:\users\halzein\appdata\local\programs\python\python37\lib\site-packages\pip 的 pip 19.0.1 (python 3.7)
尝试使用以下命令安装 PyInstaller:
pip3 install PyInstaller --trusted-host pypi.org --trusted-host files.pythonhosted.org
(如果我尝试使用不带可信主机标签的 pip 会出错)
下载并安装构建依赖项后,由于此错误,安装一直失败:
ModuleNotFoundError: No module named 'PyInstaller'
Command "c:\users\halzein\appdata\local\programs\python\python37\python.exe c:\users\halzein\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\halzein\AppData\Local\Temp\tmpfwtrnagf" failed with error code 1 in C:\Users\halzein\AppData\Local\Temp\pip-install-thcvcr0q\PyInstaller\
不太确定是什么原因造成的,我的搜索结果一无所获。
【问题讨论】:
标签: python python-3.x pip pyinstaller