<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[在linux上安装Klang时提示 failed building wheel for pillow]]></title><description><![CDATA[<p dir="auto">使用教程文档地址:<br />
<a href="https://forum.klang.org.cn/topic/6/klang-%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3-linux-%E6%9C%AC%E6%9C%BA" rel="nofollow ugc">https://forum.klang.org.cn/topic/6/klang-安装使用文档-linux-本机</a></p>
<p dir="auto">操作到第三步:<br />
<strong>pip3 install -r requirements.txt</strong><br />
的时候,<br />
pip3 安装包有失败,根据提示时pillow</p>
<p dir="auto">按照失败截图如下:<br />
<img src="/assets/uploads/files/1650868230302-8a3797b9-88c5-40e0-a854-912f42916ea2-98a93fa399eb88c6ac00cea45d5eae6.png" alt="8a3797b9-88c5-40e0-a854-912f42916ea2-98a93fa399eb88c6ac00cea45d5eae6.png" class=" img-responsive img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1650868241317-a04c21ac-2e43-4f44-ba7f-55058e3b19d0-e33ea39c52d8f3185f76a5486e4c740.png" alt="a04c21ac-2e43-4f44-ba7f-55058e3b19d0-e33ea39c52d8f3185f76a5486e4c740.png" class=" img-responsive img-markdown" /></p>
]]></description><link>http://localhost:4567/topic/21/在linux上安装klang时提示-failed-building-wheel-for-pillow</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 12:28:18 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/21.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Apr 2022 06:31:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 在linux上安装Klang时提示 failed building wheel for pillow on Tue, 26 Apr 2022 02:55:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://localhost:4567/uid/1">@asmcos</a> 谢谢指导</p>
]]></description><link>http://localhost:4567/post/33</link><guid isPermaLink="true">http://localhost:4567/post/33</guid><dc:creator><![CDATA[明军]]></dc:creator><pubDate>Tue, 26 Apr 2022 02:55:56 GMT</pubDate></item><item><title><![CDATA[Reply to 在linux上安装Klang时提示 failed building wheel for pillow on Mon, 25 Apr 2022 08:03:53 GMT]]></title><description><![CDATA[<p dir="auto">从提示信息看 是缺少 zlib，可以安装 zlib</p>
<blockquote>
<p dir="auto">在ubuntu 16.04系统里解决软件依赖问题，一般情况可以依靠安装aptitude软件包来解决：（1）sudo apt-get install aptitude<br />
（2）sudo aptitude install zlib1g-dev 这个时候必须选择n，而不是Y。等它降级安装软件。<br />
但是这个软件也通过这种方式解决不了，因为在ubuntu里，zlib叫zlib1g，相应的zlib-devel叫zlib1g.dev。默认的安装源里没有zlib1g.dev。<a href="http://xn--packages-1x1x.ubuntu.com" rel="nofollow ugc">要packages.ubuntu.com</a><br />
因此应该先安装（3） sudo apt-get install ruby<br />
（4） sudo apt-get install zlib1g-dev</p>
</blockquote>
<p dir="auto">另外：pillow 是由matplotlib 依赖产生的。可以在这个文件里面删除这一行。<br />
requirements.txt</p>
<pre><code>numpy
pandas
baostock
matplotlib
requests
ply
websockets
TA-Lib
</code></pre>
<p dir="auto">删除后：</p>
<pre><code>numpy
pandas
baostock
requests
ply
websockets
TA-Lib
</code></pre>
]]></description><link>http://localhost:4567/post/32</link><guid isPermaLink="true">http://localhost:4567/post/32</guid><dc:creator><![CDATA[asmcos]]></dc:creator><pubDate>Mon, 25 Apr 2022 08:03:53 GMT</pubDate></item></channel></rss>