python - OSX:pyInstaller 下载失败
问题描述
对于我安装的所有软件包,我使用过
pip3 install [package name]
我没有任何问题。
对于 PyInstaller,我收到此错误消息
Collecting pyinstaller
Using cached PyInstaller-3.6.tar.gz (3.5 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/st/_5np1sr92zl_34jy58rt65c40000gn/T/pip-build-env-9ad1w22t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel
cwd: None
Complete output (44 lines):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
编辑:从尝试pip3 install --no-cache-dir pyinstaller
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/st/_5np1sr92zl_34jy58rt65c40000gn/T/pip-build-env-po9ly7dc/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
解决方案
推荐阅读
- jira - 无法使用 Rest Client 将 jira 支持票证移至完成状态
- python - plt.savefig 在使用函数执行时保存一个空白图
- python - 使用多个 celery 结果作为后续任务的参数
- machine-learning - 如何处理分时段的数据
- cmake - 有条件地运行 CMake 的 CHECK_TYPE_SIZE
- python - pyspark 从现有列的值创建多个列
- c - c语言C:/mingw/mingw64/x86_64-w64-mingw32/include/wingdi.h:1706:5:错误:未知类型名称'DWORD'
- unit-testing - IntelliJ Idea 显示两次 testng.xml 测试
- python - Flask 在 python JuptorLab 中不断崩溃
- amazon-web-services - 从部署到同一区域的 EKS 的应用程序的 ssl 连接到 RDS