На пути применения pylint встретил трудности, нужна помощь.
Среда: python 3.3x32, pip 1.4.1 (сегодня поставил)
Среди нужных для pylint пакетов есть astroid. Запускаю
c:\Python33\Scripts\pip-3.3.exe install astroid
Получаю сообщение об ошибке (почти полный отчет от pip в приложении, удалил только ссылки на неактуальные версии пакетов). Вот конец отчета
…
Cleaning up…
Removing temporary dir c:\users\me\appdata\local\temp\pip_build_me…
Command C:\Python33\python.exe -c “import setuptools;__file__='c:\\users\\me\\appdata\\local\\temp\\pip_build_me\\astroid\\setup.py';exec(compile(open(__file__).read().replace('\r\n', ‘\n’), __file__, ‘exec’))” install –record c:\users\me\appdata\local\temp\pip-tb6ytk-record\install-record.txt –single-version-externally-managed failed with error code 1 in c:\users\me\appdata\local\temp\pip_build_me\astroid
Exception information:
Traceback (most recent call last):
File “C:\Python33\lib\site-packages\pip-1.4.1-py3.3.egg\pip\basecommand.py”, line 134, in main
status = self.run(options, args)
File “C:\Python33\lib\site-packages\pip-1.4.1-py3.3.egg\pip\commands\install.py”, line 241, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File “C:\Python33\lib\site-packages\pip-1.4.1-py3.3.egg\pip\req.py”, line 1298, in install
requirement.install(install_options, global_options, *args, **kwargs)
File “C:\Python33\lib\site-packages\pip-1.4.1-py3.3.egg\pip\req.py”, line 625, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File “C:\Python33\lib\site-packages\pip-1.4.1-py3.3.egg\pip\util.py”, line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command C:\Python33\python.exe -c “import setuptools;__file__='c:\\users\\me\\appdata\\local\\temp\\pip_build_me\\astroid\\setup.py';exec(compile(open(__file__).read().replace('\r\n', ‘\n’), __file__, ‘exec’))” install –record c:\users\me\appdata\local\temp\pip-tb6ytk-record\install-record.txt –single-version-externally-managed failed with error code 1 in c:\users\me\appdata\local\temp\pip_build_me\astroid
Вопросы
1. Что мешает довести установку до конца?
2. Правильно ли я устанавливаю astroid (и pylint собираюсь так же) с помощью pip?