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

 找回密码
 立即注册
查看: 3776|回复: 2

[技术探讨] 求助!求助!homeassistant Windows下安装总有错误

[复制链接]

1

主题

73

帖子

336

积分

中级会员

Rank: 3Rank: 3

积分
336
金钱
263
HASS币
0
发表于 2021-1-26 13:55:08 | 显示全部楼层 |阅读模式
正常下载安装ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

requests 2.25.0 requires idna<3,>=2.5, but you'll have idna 3.1 which is incompatible.
Successfully installed MarkupSafe-1.1.1 PyJWT-1.7.1 aiohttp-3.7.3 astral-1.10.1 async-timeout-3.0.1 attrs-19.3.0 bcrypt-3.1.7 certifi-2020.12.5 cffi-1.14.4 chardet-3.0.4 ciso8601-2.1.3 cryptography-3.2 h11-0.12.0 homeassistant-2021.1.5 httpcore-0.12.2 httpx-0.16.1 idna-3.1 jinja2-2.11.2 multidict-5.1.0 pycparser-2.20 python-slugify-4.0.1 pytz-2020.5 pyyaml-5.3.1 requests-2.25.0 rfc3986-1.4.0 ruamel.yaml-0.15.100 six-1.15.0 sniffio-1.2.0 text-unidecode-1.3 typing-extensions-3.7.4.3 urllib3-1.26.2 voluptuous-0.12.1 voluptuous-serialize-2.4.0 yarl-1.6.3
WARNING: You are using pip version 20.2.3; however, version 21.0 is available.
You should consider upgrading via the 'd:\python39\python.exe -m pip install --upgrade pip' command.


根据错误提示再次安装
WARNING: You are using pip version 20.2.3; however, version 21.0 is available.
You should consider upgrading via the 'd:\python39\python.exe -m pip install --upgrade pip' command.

提示更新pip
C:\Users\homeassistant>pip install --upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pip
  Using cached https://pypi.tuna.tsinghua.edu.c ... .0-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.3
    Uninstalling pip-20.2.3:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'd:\\python39\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.

出现拒绝访问
C:\Users\homeassistant>pip install  --user --upgrade pip
Traceback (most recent call last):
  File "d:\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Python39\Scripts\pip.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'




求大神指点!新手小白!
回复

使用道具 举报

1

主题

73

帖子

336

积分

中级会员

Rank: 3Rank: 3

积分
336
金钱
263
HASS币
0
 楼主| 发表于 2021-1-26 14:40:05 | 显示全部楼层
在线等,急!急!
回复

使用道具 举报

1

主题

73

帖子

336

积分

中级会员

Rank: 3Rank: 3

积分
336
金钱
263
HASS币
0
 楼主| 发表于 2021-1-26 16:15:04 | 显示全部楼层
有没有大神可以指导一下,万分感谢!!!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 19:41 , Processed in 0.298838 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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