I am trying to install reportlab for python. I have Windows 7, Python 2.7 and Visual Studio 2013 and I am using the command line "pip install reportlab" but it is not working.
I have the pip log file data that was generated - what is the best way to get this file attached to my question so that others can view it?
Here is the last section of the log file/command line:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION=\"2.3.12\" -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1 -IC:\Python27\include -IC:\Python27\PC /Tcc:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_rgba_affine.c /Fobuild\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_rgba_affine.obj
art_rgb_rgba_affine.c
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION=\"2.3.12\" -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1 -IC:\Python27\include -IC:\Python27\PC /Tcc:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_intersect.c /Fobuild\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_intersect.obj
art_svp_intersect.c
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION=\"2.3.12\" -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1 -IC:\Python27\include -IC:\Python27\PC /Tcc:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_render_aa.c /Fobuild\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_render_aa.obj
art_svp_render_aa.c
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION=\"2.3.12\" -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl -Ic:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1 -IC:\Python27\include -IC:\Python27\PC /Tcc:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_misc.c /Fobuild\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_misc.obj
art_misc.c
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Python27\libs /LIBPATH:C:\Python27\PCbuild\amd64 /EXPORT:init_renderPM build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1\gt1-parset1.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1\gt1-dict.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1\gt1-namecontext.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\gt1\gt1-region.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_vpath_bpath.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_pixbuf_affine.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_svp.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_vpath.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_vpath_stroke.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_ops.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_vpath.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_vpath_dash.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_affine.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rect.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_affine.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_affine_private.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_rgb_rgba_affine.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_intersect.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_svp_render_aa.obj build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\libart_lgpl\art_misc.obj /OUT:build\lib.win-amd64-2.7\reportlab\graphics\_renderPM.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.pyd.manifest
Creating library build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.lib and object build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.exp
C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe -nologo -manifest build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.pyd.manifest -outputresource:build\lib.win-amd64-2.7\reportlab\graphics\_renderPM.pyd;2
build\temp.win-amd64-2.7\Release\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\src\rl_addons\renderPM\_renderPM.pyd.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
error: command 'mt.exe' failed with exit status 31
----------------------------------------
Command C:\Python27\python.exe -c "import setuptools;__file__='c:\\users\\kvincent\\appdata\\local\\temp\\pip-build-kvincent\\reportlab\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\kvincent\appdata\local\temp\pip-zbzt97-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab
Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 139, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:\Python27\lib\site-packages\pip\req.py", line 1185, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:\Python27\lib\site-packages\pip\req.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\Python27\lib\site-packages\pip\util.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Python27\python.exe -c "import setuptools;__file__='c:\\users\\kvincent\\appdata\\local\\temp\\pip-build-kvincent\\reportlab\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\kvincent\appdata\local\temp\pip-zbzt97-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab
You're not missing the file, it's just unable to be found.
Try these codes in the following order:
python setup.py build --compiler=mingw32
then:
python setup.py install