首页 > 解决方案 > 无法在 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

我已经搜索过此类错误,但找不到任何解决方案。谁能指导我完成这个。提前致谢。

标签: pythonpython-2.7plotly-dash

解决方案


推荐阅读