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

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

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

[复制链接]

26

主题

80

帖子

866

积分

高级会员

Rank: 4

积分
866
金钱
786
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-5-16 15:17 , Processed in 0.205513 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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