python安装pyinstaller出现错误_安装pyinstaller错误:引发后端不可用

$ pip install pyinstaller

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Collecting pyinstaller

Using cached https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz

Installing build dependencies ... done

Getting requirements to build wheel ... done

Exception:

Traceback (most recent call last):

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main

status = self.run(options, args)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 315, in run

resolver.resolve(requirement_set)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/resolve.py", line 131, in resolve

self._resolve_one(requirement_set, req)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one

abstract_dist = self._get_abstract_dist_for(req_to_install)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/resolve.py", line 242, in _get_abstract_dist_for

self.require_hashes

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 349, in prepare_linked_requirement

abstract_dist.prep_for_dist(finder, self.build_isolation)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 149, in prep_for_dist

reqs = self.req.pep517_backend.get_requires_for_build_wheel()

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 71, in get_requires_for_build_wheel

'config_settings': config_settings

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 162, in _call_hook

raise BackendUnavailable

BackendUnavailable

当我尝试安装pyinstaller(在macosmojave上)并且搜索时找不到任何关于错误的信息时,就会发生这种情况。在

奇怪的是,如果我尝试在Mac上的个人用户帐户上安装(两个都是管理员),它就可以工作了。在

有什么建议吗?在

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值