当我尝试使用 pip 在 Windows 上安装 pylint 时遇到了这个问题,我真的不知道它来自哪里。
C:\Python33\Scripts>pip.exe install pylint
Downloading/unpacking pylint
Getting page https://pypi.python.org/simple/pylint/
URLs to search for versions for pylint:
* https://pypi.python.org/simple/pylint/
Analyzing links from page https://pypi.python.org/simple/pylint/
...
byte-compiling C:\Python33\Lib\site-packages\pylint\utils.py to utils.cpython-33.pyc
byte-compiling C:\Python33\Lib\site-packages\pylint\__init__.py to __init__.cpython-33.pyc
byte-compiling C:\Python33\Lib\site-packages\pylint\__pkginfo__.py to __pkginfo__.cpython-33.pyc
error: The system cannot find the file specified
running 2to3 on C:\Python33\Lib\site-packages\pylint\test
----------------------------------------
Cleaning up...
Removing temporary dir c:\windows\temp\pip_build_abrow198...
Command C:\Python33\python.exe -c "import setuptools;__file__='c:\\windows\\temp\\pip_build_abrow198\\pylint\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\windows\temp\pip-cq0pam-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\windows\temp\pip_build_abrow198\pylint