擅长:python、mysql、java
<p>我找到了一种让它在我的Windows机器(python3.3)上运行的方法。
(可能有些步骤不需要。我没有深入研究。)</p>
<p>我试图在虚拟环境下安装pylint。在</p>
<pre><code>pip install pylint
</code></pre>
<p>有问题中描述的错误。在</p>
<p>我在“VIRTUALENV\Tools\Scripts”目录中创建了一个bat文件</p>
^{pr2}$
<p>已将此添加到路径</p>
<pre><code>C:\tmp\pylint>set PATH=c:\env\Tools\Scripts;%PATH%
</code></pre>
<p>我从版本控制系统获取了Pylint的最新版本及其依赖项</p>
<pre><code>hg clone https://bitbucket.org/logilab/pylint/
hg clone https://bitbucket.org/logilab/astroid
hg clone http://hg.logilab.org/logilab/common
</code></pre>
<p>然后用虚拟环境中的Python“编译”它们。先是“天体”,然后是“普通”和“皮林”本身</p>
<pre><code>C:\tmp\pylint>c:\env\Scripts\python.exe setup.py install
</code></pre>