0xHJK / 0xHJK/music-dl

[BUG]Pip 安装提示需要C++14.0以上生成工具

未关闭
#62 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.4k
派生
593
PR 合并指标
30 天内没有已合并 PR

描述

**问题描述(Question description)**
```
Complete output from command python setup.py egg_info:
Testing support for clang
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Rosefun\AppData\Local\Temp\pip-install-lx38hx1j\pycryptodome\setup.py", line 468, in
set_compiler_options(package_root, ext_modules)
File "C:\Users\Rosefun\AppData\Local\Temp\pip-install-lx38hx1j\pycryptodome\compiler_opt.py", line 341, in set_compiler_options
clang = compiler_is_clang()
File "C:\Users\Rosefun\AppData\Local\Temp\pip-install-lx38hx1j\pycryptodome\compiler_opt.py", line 251, in compiler_is_clang
return test_compilation(source, msg="clang")
File "C:\Users\Rosefun\AppData\Local\Temp\pip-install-lx38hx1j\pycryptodome\compiler_opt.py", line 82, in test_compilation
objects = compiler.compile([fname], extra_postargs=extra_cc_options)
File "D:\DeepLearningInstall\anaconda3.5\lib\distutils\_msvccompiler.py", line 345, in compile
self.initialize()
File "D:\DeepLearningInstall\anaconda3.5\lib\distutils\_msvccompiler.py", line 238, in initialize
vc_env = _get_vc_env(plat_spec)
File "D:\DeepLearningInstall\anaconda3.5\lib\site-packages\setuptools\msvc.py", line 312, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "D:\DeepLearningInstall\anaconda3.5\lib\site-packages\setuptools\msvc.py", line 267, in _msvc14_get_vc_env
"Unable to find vcvarsall.bat"
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Rosefun\AppData\Local\Temp\pip-install-lx38hx1j\pycryptodome\
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

The error occurs during pip install of pycryptodome on Windows, requiring Microsoft Visual C++ 14.0+. Check the project's setup.py and dependencies to see if pycryptodome is a direct dependency or if there are alternative installation methods like pre-built wheels. Look for documentation on Windows installation and consider updating requirements or providing clearer build instructions.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
40/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。