写在前面,如果是用win10系统的用户,一定要先通过管理员模式打开命令窗口,我是直接按 win + x 键,选择 "Windows Powershell(管理员)",否则会提示: [Errno 13] Permission denied:
下面是在管理员模式下通过 pip 命令安装失败
从下面错误来看,是安装build的依赖失败,但具体是哪些也不清楚,网上找也没有类似错误的解决办法,大都都是下载setup.py文件来安装
1 Windows PowerShell 2 版权所有 (C) Microsoft Corporation。保留所有权利。 3 4 PS C:\Windows\system32> pip install PyInstaller 5 Collecting PyInstaller 6 Downloading https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz (3.5MB) 7 100% |████████████████████████████████| 3.5MB 44kB/s 8 Installing build dependencies ... error 9 Complete output from command "c:\program files\python3\python.exe" "c:\program files\python3\lib\site-packages\pip" install --ignore-installed --no-user --prefix C:\Users\S~1.WU\AppData\Local\Temp\pip-build-env-0g2rl8se\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel: 10 Traceback (most recent call last): 11 File "c:\program files\python3\lib\runpy.py", line 193, in