Pylint Issue Installation With Windows And Python 3.2
Solution 1:
Looks like there's an error in the setup scripts for both Pylint and its dependency logilab-common. I encounter the error when building with pip install pylint
or python setup.py install
.
The error generally looks like this, and occurs right after .pyc
files are byte-compiled:
error: The system cannot find the file specified
running 2to3 on C:\Python33\Lib\site-packages\pylint\test
Simply making sure that 2to3.py
is available on PATH doesn't seem to be sufficient; 2to3 itself will run, but Pylint won't install.
I just spent a bit trying to get this working, and found two promising suggestions:
First option, create a custom bat file so that 2to3 is effectively on your PATH (see SO thread, issue tracker). I managed to get 2to3
running as a bare command in both PowerShell and CMD, but couldn't get Pylint to install. Someone else might have more luck with this.
Second option, install different versions of Pylint and logilab-common which invoke 2to3 through distutils instead of on the command line (see unmerged pull request). This worked immediately for me.
BitBucket lists that pull request as "open" since October. I don't know when it might be merged, or how long after that changes might be live on PyPI.
Post a Comment for "Pylint Issue Installation With Windows And Python 3.2"