I'm trying to install Cython in a Windows 7 Professional platform. I did use [ >> pip install cython ] from an IPython console and I got a faulty installation. I also got a long pip.log file. The final lines of the log say:
running build_ext
building 'Cython.Plex.Scanners' extension
error: Unable to find vcvarsall.bat
----------------------------------------
Command C:\Python27\python.exe -c "import setuptools;__file__='c:\\users\\pedrop~1\\appdata\\local\\temp\\pip-build\\cython\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\pedrop~1\appdata\local\temp\pip-xdudyk-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\pedrop~1\appdata\local\temp\pip-build\cython
Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 107, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 261, in run
requirement_set.install(install_options, global_options)
File "C:\Python27\lib\site-packages\pip\req.py", line 1166, in install
requirement.install(install_options, global_options)
File "C:\Python27\lib\site-packages\pip\req.py", line 589, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\Python27\lib\site-packages\pip\util.py", line 612, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Python27\python.exe -c "import setuptools;__file__='c:\\users\\pedrop~1\\appdata\\local\\temp\\pip-build\\cython\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\pedrop~1\appdata\local\temp\pip-xdudyk-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\pedrop~1\appdata\local\temp\pip-build\cython
Could anybody shed some light on this problem? I need Cython in order to install "lxml" package !!
Regards.