Skip to content

Commit

Permalink
Site updated: 2014-06-04 21:09:18
Browse files Browse the repository at this point in the history
  • Loading branch information
xuh5156 committed Jun 4, 2014
1 parent 21c5cfa commit cd5dc77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 2014/06/04/scrapy_install/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ <h3 id="4-lxml">4 安装lxml</h3>
python ./setup.py install
</code></pre><p><strong>验证</strong>
<img src="/img/lxml.png" alt=""></p>
<p>错误是lxml需要libxml2.so.2,这个库在编译时是安装在我们制定的目录/home/username/tools/libxml2/lib下,没有放在系统的lib文件夹下,所以找不到。
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/username/tools/libxml2/lib</p>
<p>参考<a href="http://www.coder4.com/archives/3660" target="_blank"><a href="http://www.coder4.com/archives/3660">http://www.coder4.com/archives/3660</a></a></p>
<p>错误是lxml需要libxml2.so.2,这个库在编译时是安装在我们制定的目录/home/username/tools/libxml2/lib下,没有放在系统的lib文件夹下,所以找不到。</p>
<pre><code> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/username/tools/libxml2/lib
</code></pre><p>参考<a href="http://www.coder4.com/archives/3660" target="_blank"><a href="http://www.coder4.com/archives/3660">http://www.coder4.com/archives/3660</a></a></p>
<h3 id="5-six-w3lib-cssselect-queuelib">5 安装 six w3lib cssselect queuelib</h3>
<p><strong>下载</strong></p>
<p>six :<a href="https://pypi.python.org/pypi/six" target="_blank"><a href="https://pypi.python.org/pypi/six">https://pypi.python.org/pypi/six</a></a></p>
Expand Down

0 comments on commit cd5dc77

Please sign in to comment.