当我sudo pip install pyquery
,sudo pip install lxml
和sudo 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) DataTables搜索栏不允许我搜索子行中的内容.
我已搜查广泛找到这个问题的答案(1,2,3,4,5,6,7,8,9),但有一点在这个问题上没有任何反应.
这是一个简单的jsfiddle和DataTables调试器结果.
我想在表格中搜索分机号码(在子行中),但在搜索栏中输入一个分机号码不会留下任何搜索结果.
我通过添加以下内容尝试了此帖子中的解决方案:
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中看到.
有人可以帮帮我吗?
谢谢