即使存在依赖项,也要安装缺少的依赖项?

时间:2021-08-02 00:26:38

标签: python pip raspberry-pi3

我正在尝试在我的 Raspberry Pi 上安装 laurel,以控制我的智能灯泡。尽管在尝试通过 pip 安装它时出现错误。究竟有什么问题?

查找索引:https://pypi.org/simple, https://www.piwheels.org/simple

Requirement already satisfied: laurel in /usr/local/lib/python2.7/dist-packages/laurel-0.3-py2.7.egg (0.3)
Requirement already satisfied: dimond in /usr/local/lib/python2.7/dist-packages/dimond-0.3-py2.7.egg (from laurel) (0.3)
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/_internal/commands/install.py", line 338, in run
    resolver.resolve(requirement_set)
  File "/usr/lib/python2.7/dist-packages/pip/_internal/resolve.py", line 102, in resolve
    self._resolve_one(requirement_set, req)
  File "/usr/lib/python2.7/dist-packages/pip/_internal/resolve.py", line 318, in _resolve_one
    add_req(subreq, extras_requested=available_requested)
  File "/usr/lib/python2.7/dist-packages/pip/_internal/resolve.py", line 275, in add_req
    wheel_cache=self.wheel_cache,
  File "/usr/lib/python2.7/dist-packages/pip/_internal/req/constructors.py", line 288, in install_req_from_req
    if req.url and comes_from.link.netloc in domains_not_allowed:
AttributeError: 'NoneType' object has no attribute 'netloc'

0 个答案:

没有答案