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

 找回密码
 立即注册
查看: 1225|回复: 1

[求助] win10 安装出错 请大神帮忙解决

[复制链接]

1

主题

1

帖子

24

积分

新手上路

Rank: 1

积分
24
金钱
23
HASS币
0
发表于 2021-11-19 11:53:04 | 显示全部楼层 |阅读模式


python 3.9版本

Building wheel for bcrypt (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Administrator\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpu74jsbih'
       cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-o3pn69c6\bcrypt_43946d0dc99b4422809052e05e84a376
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\bcrypt
  copying src\bcrypt\__about__.py -> build\lib.win-amd64-3.9\bcrypt
  copying src\bcrypt\__init__.py -> build\lib.win-amd64-3.9\bcrypt
  running build_ext
  generating cffi module 'build\\temp.win-amd64-3.9\\Release\\_bcrypt.c'
  creating build\temp.win-amd64-3.9
  creating build\temp.win-amd64-3.9\Release
  building '_bcrypt' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  ----------------------------------------
  ERROR: Failed building wheel for bcrypt
  Building wheel for ciso8601 (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Administrator\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpx46wgcjn'
       cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-o3pn69c6\ciso8601_bb581f2200b149929bfd98e5cdb502fe
  Complete output (12 lines):
  running bdist_wheel
  running build
  running build_py
  package init file 'ciso8601\__init__.py' not found (or not a regular file)
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\ciso8601
  copying ciso8601\__init__.pyi -> build\lib.win-amd64-3.9\ciso8601
  copying ciso8601\py.typed -> build\lib.win-amd64-3.9\ciso8601
  running build_ext
  building 'ciso8601' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  ----------------------------------------
  ERROR: Failed building wheel for ciso8601
Failed to build bcrypt ciso8601
ERROR: Could not build wheels for bcrypt, ciso8601, which is required to install pyproject.toml-based projects

回复

使用道具 举报

47

主题

1657

帖子

6690

积分

论坛元老

Rank: 8Rank: 8

积分
6690
金钱
5023
HASS币
40
发表于 2021-11-20 15:42:20 | 显示全部楼层
缺少Microsoft Visual C++ 14.0 ,不建议win10安装
折腾精神永存,感恩感谢论坛每一位愿意分享和帮助过我的大佬,论坛有你更精彩
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 19:15 , Processed in 0.054020 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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