python - 错误:安装 pandas-profiling 期间需要 Microsoft Visual C++ 14.0 或更高版本
问题描述
作为 Python 模块 pandas-profiling 的依赖项,尝试安装模块 Bottleneck(提供快速 NumPy 数组函数 - 但用 C 编写)。安装中止并显示以下错误消息:
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 bottleneck
Failed to build bottleneck
建议的解决方案意味着从https://visualstudio.microsoft.com/visual-cpp-build-tools/下载并安装“Microsoft C++ Build Tools” 。但是,这只会消耗 > 6GB 的硬盘空间,因为我不使用 Visual Studio。
你们中有人对不同的解决方案有想法吗?
解决方案
我找到了模块 Bottleneck 的编译版本(用于 Python 扩展包的非官方 Windows 二进制文件。作为轮子安装后,可以更新 Python 模块 pandas-profiling。
推荐阅读
- c++ - 关于未使用变量的奇怪编译器警告,这是编译器错误吗?
- javascript - 在 React Native Elements ListItem Buttons 周围填充(根据文档)
- apache-flink - 从所选源重新启动后如何恢复状态(不一定是最后一个检查点)
- r - 如何通过合并两个数据框来创建反应式数据框
- algorithm - 如何计算数组中的最大中位数
- python - 解析github api ..获取字符串索引必须是整数错误
- firebase - 在 Vue.js 组件中从 Firebase 获取数据
- javascript - 在同步函数和 for 循环中获取 API
- dialogflow-es - Dialogflow Fulfillment 响应似乎不适用于丰富响应(基本卡)和 OutputContext 或后续事件
- python - 我应该何时使用 DateTime(timezone=True) 以及何时使用 TIMESTAMP(timezone=True)?