小编coo*_*ast的帖子

pip错误:无法识别的命令行选项'-fstack-protector-strong'

当我sudo pip install pyquery,sudo pip install lxmlsudo pip install cython,我得到非常相似的输出与相同的错误说:

x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-fstack-protector-strong’

这是完整的点子输出sudo pip install pyquery:

Requirement already satisfied (use --upgrade to upgrade): pyquery in /usr/local/lib/python2.7/dist-packages
Downloading/unpacking lxml>=2.1 (from pyquery)
  Running setup.py egg_info for package lxml
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
      warnings.warn(msg)
    Building lxml version 3.4.1.
    Building without Cython.
    Using build configuration of libxslt 1.1.28

Requirement already satisfied (use --upgrade to upgrade): cssselect in /usr/local/lib/python2.7/dist-packages/cssselect-0.9.1-py2.7.egg (from …
Run Code Online (Sandbox Code Playgroud)

python lxml pip cython pyquery

13
推荐指数
1
解决办法
3万
查看次数

DataTables搜索子行内容

DataTables搜索栏不允许我搜索子行中的内容.

我已搜查广泛找到这个问题的答案(1,2,3,4,5,6,7,8,9),但有一点在这个问题上没有任何反应.

这是一个简单的jsfiddleDataTables调试器结果.

我想在表格中搜索分机号码(在子行中),但在搜索栏中输入一个分机号码不会留下任何搜索结果.

我通过添加以下内容尝试了此帖子中的解决方案:

table.columns().every( function () {
    var that = this;
    var header = this.header();

    $( 'input', this.footer() ).on( 'keyup change', function () {
        that
        .column( header.getAttribute('data-search-index')*1 ) // *1 to make it a number
        .search( this.value )
        .draw();
    } );
} );
Run Code Online (Sandbox Code Playgroud)

...但它仍然不起作用,你可以在上面链接jsfiddle中看到.

有人可以帮帮我吗?

谢谢

jquery datatables datatables-1.10

11
推荐指数
1
解决办法
9921
查看次数

标签 统计

cython ×1

datatables ×1

datatables-1.10 ×1

jquery ×1

lxml ×1

pip ×1

pyquery ×1

python ×1