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

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

[求助] 求大佬解决,win7安装hass时出现以下问题,path是3.7的

[复制链接]

5

主题

21

帖子

116

积分

注册会员

Rank: 2

积分
116
金钱
95
HASS币
0
发表于 2020-7-4 19:43:12 | 显示全部楼层 |阅读模式
Installing collected packages: ciso8601, homeassistant
    Running setup.py install for ciso8601 ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\administrator\homeassistant\scripts\python.exe' -u -c 'i
mport sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ADMINI~1\\AppData
\\Local\\Temp\\pip-install-h1dar17s\\ciso8601\\setup.py'"'"'; __file__='"'"'C:\\
Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-h1dar17s\\ciso8601\\setup.py'
"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('
"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'
"'))' install --record 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-g6_itywt
\install-record.txt' --single-version-externally-managed --compile --install-hea
ders 'c:\users\administrator\homeassistant\include\site\python3.7\ciso8601'
         cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-h1dar17s\ciso8601
\
    Complete output (12 lines):
    running install
    running build
    running build_py
    package init file 'ciso8601\__init__.py' not found (or not a regular file)
    creating build
    creating build\lib.win32-3.7
    creating build\lib.win32-3.7\ciso8601
    copying ciso8601\__init__.pyi -> build\lib.win32-3.7\ciso8601
    copying ciso8601\py.typed -> build\lib.win32-3.7\ciso8601
    running build_ext
    building 'ciso8601' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for V
isual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\administrator\homeassis
tant\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-h1dar17s\\ciso8601\\
setup.py'"'"'; __file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-inst
all-h1dar17s\\ciso8601\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(
__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(com
pile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ADMINI~1\AppDa
ta\Local\Temp\pip-record-g6_itywt\install-record.txt' --single-version-externall
y-managed --compile --install-headers 'c:\users\administrator\homeassistant\incl
ude\site\python3.7\ciso8601' Check the logs for full command output.
回复

使用道具 举报

22

主题

414

帖子

2255

积分

金牌会员

Rank: 6Rank: 6

积分
2255
金钱
1841
HASS币
30
发表于 2020-7-4 21:35:07 | 显示全部楼层
awei5200 发表于 2020-7-4 20:00
网上找了方法,也没奏效成功

error: Microsoft Visual C++ 14.0 is required.

下载一个visualcppbuildtools_full.exe补全依赖。

前两天刚刚完成Windows7专业版安装ha\hb\mqtt\ir\nr。所有的工作正常。但是ha的hk反向接入无法使用,缺少py模块,此模块仅Unix才有,遂放弃win平台。
你有所不知,小米设备带屏幕都是为了后期广告投送的。
灵长类退散
回复

使用道具 举报

5

主题

21

帖子

116

积分

注册会员

Rank: 2

积分
116
金钱
95
HASS币
0
 楼主| 发表于 2020-7-4 20:00:06 | 显示全部楼层
网上找了方法,也没奏效成功
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 01:01 , Processed in 0.068827 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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