『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3817|回复: 0

[求助] 安卓手机安装hass, 在python 虚拟环境中使用 pip 命令出现错误

[复制链接]

28

主题

83

帖子

912

积分

高级会员

Rank: 4

积分
912
金钱
829
HASS币
0
发表于 2021-5-31 10:17:07 | 显示全部楼层 |阅读模式
设置过 root 的密码!
也用visudo 开放了用户权限


进入虚拟环境 使用 pip 或者 pip3 都会出现 这串错误! 但是推出虚拟环境就都没问题了?


  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76ad8400>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /pypi/simple/homeassistant/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76ad8320>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /pypi/simple/homeassistant/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76c9ca20>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /pypi/simple/homeassistant/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76c9c438>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /pypi/simple/homeassistant/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76c9c5f8>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /pypi/simple/homeassistant/
  Could not find a version that satisfies the requirement homeassistant (from versions: )
No matching distribution found for homeassistant

请求大神解惑!!!

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 13:41 , Processed in 0.228384 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表