python - 无法在 python 2.7.16 上安装破折号
问题描述
我在命令行上使用“pip install dash”,起初我收到一个错误,告诉我下载 Visual C++。我跟风下载安装Microsoft Visual C++
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
然后我再次尝试“pip install dash”,现在它失败并出现以下错误。
_brotli.obj : warning LNK4197: export 'init_brotli' specified multiple times; using first specification
Creating library bin\temp.win-amd64-2.7\Release\c/common\_brotli.lib and object bin\temp.win-amd64-2.7\Release\c/common\_brotli.exp
encode.obj : error LNK2001: unresolved external symbol _tzcnt_u64
static_dict.obj : error LNK2001: unresolved external symbol _tzcnt_u64
backward_references.obj : error LNK2019: unresolved external symbol _tzcnt_u64 referenced in function FindMatchLengthWithLimit
backward_references_hq.obj : error LNK2001: unresolved external symbol _tzcnt_u64
compress_fragment.obj : error LNK2001: unresolved external symbol _tzcnt_u64
compress_fragment_two_pass.obj : error LNK2001: unresolved external symbol _tzcnt_u64
bin\lib.win-amd64-2.7\_brotli.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\\Users\\karthik\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe' failed with exit status 1120
我已经搜索过此类错误,但找不到任何解决方案。谁能指导我完成这个。提前致谢。
解决方案
推荐阅读
- python - 将 Datetime 列转换为仅在 Python 中的 DataFrame 中显示日期
- c# - 如何检查每个 Json 对象的某个键是否具有特定值?
- java - InvocationTargetException 有问题
- sql - 如何将 CTE 与动态查询枢轴一起使用?
- android - 如何检索 SharedPreferences 并将该数据发送到 firebase 实时数据库
- ruby-on-rails - 从 AWS elastic beanstalk 访问 rails 控制台
- mysql - 准备给出语法错误的 STMT 语句
- typescript - 如何导入 dygraphs 命名空间
- bash - 请解释这 2 行 bash 代码发生了什么
- reactjs - 停止钩子在组件更新时重新获取数据