擅长:python、mysql、java
<p>您可能需要安装<code>xvfb</code>包,或者<code>xvfbwrapper</code>:</p>
<p>首先检查并查看是否安装了<a href="http://linux.die.net/man/1/xvfb" rel="noreferrer">xvfb</a>:</p>
<pre><code>Xvfb -help
</code></pre>
<p>如果命令<em>未找到</em>,则通常可以使用以下命令(或通常使用的任何包管理器)安装<code>xvfb</code>包:</p>
<pre><code>sudo apt-get install xvfb
</code></pre>
<p><a href="https://github.com/cgoldberg/xvfbwrapper" rel="noreferrer">xvfbwrapper</a>是用于在X虚拟帧缓冲区(Xvfb)内运行显示的Python包装器。</p>
<p>您可以使用以下工具安装它:</p>
<pre><code>pip install xvfbwrapper
</code></pre>
<p>您收到的错误似乎是由于找不到命令或模块造成的。</p>