擅长:python、mysql、java
<p>如果没有完整的错误日志,就无法判断。但我打赌你一定是错过了python-dev</p>
<p>尝试安装它:</p>
<pre><code>$ sudo apt-get install python-dev
</code></pre>
<p>然后pip再次安装reportlab。</p>
<p>希望能有所帮助。</p>
<p>见:<a href="https://stackoverflow.com/questions/7325305/installing-reportlab-error-command-gcc-failed-with-exit-status-1">installing Reportlab (error: command 'gcc' failed with exit status 1 )</a></p>