Python pip install reportlab error
Question:
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.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_rgba_affine.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_rgba_affine.obj
art_rgb_rgba_affine.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_intersect.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_intersect.obj
art_svp_intersect.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_render_aa.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_render_aa.obj
art_svp_render_aa.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_misc.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_misc.obj
art_misc.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:Python27libs /LIBPATH:C:Python27PCbuildamd64 /EXPORT:init_renderPM buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-parset1.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-dict.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-namecontext.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-region.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_vpath_bpath.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_pixbuf_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_svp.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_vpath.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_vpath_stroke.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_ops.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_vpath.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_vpath_dash.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rect.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_affine_private.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_rgba_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_intersect.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_render_aa.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_misc.obj /OUT:buildlib.win-amd64-2.7reportlabgraphics_renderPM.pyd /IMPLIB:buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.lib /MANIFESTFILE:buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.pyd.manifest
Creating library buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.lib and object buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.exp
C:Program Files (x86)Windows Kits8.1binx64mt.exe -nologo -manifest buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.pyd.manifest -outputresource:buildlib.win-amd64-2.7reportlabgraphics_renderPM.pyd;2
buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_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:Python27python.exe -c "import setuptools;__file__='c:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record c:userskvincentappdatalocaltemppip-zbzt97-recordinstall-record.txt --single-version-externally-managed failed with error code 1 in c:userskvincentappdatalocaltemppip-build-kvincentreportlab
Exception information:
Traceback (most recent call last):
File "C:Python27libsite-packagespipbasecommand.py", line 139, in main
status = self.run(options, args)
File "C:Python27libsite-packagespipcommandsinstall.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:Python27libsite-packagespipreq.py", line 1185, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:Python27libsite-packagespipreq.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:Python27libsite-packagespiputil.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command C:Python27python.exe -c "import setuptools;__file__='c:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record c:userskvincentappdatalocaltemppip-zbzt97-recordinstall-record.txt --single-version-externally-managed failed with error code 1 in c:userskvincentappdatalocaltemppip-build-kvincentreportlab
Answers:
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
Get a precompiled binary here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#reportlab
Installing non-compiled Python libraries on Windows is a pain: don’t put yourself through it. Just make it simple: get something already made for you.
I found issues to install reportlab in python 2.7
I recommend you to upgraded with python 3.6 and you can install reportlab using pip command
‘pip install reportlab’
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.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_rgba_affine.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_rgba_affine.obj
art_rgb_rgba_affine.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_intersect.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_intersect.obj
art_svp_intersect.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_render_aa.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_render_aa.obj
art_svp_render_aa.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DLIBART_COMPILATION -DLIBART_VERSION="2.3.12" -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgpl -Ic:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1 -IC:Python27include -IC:Python27PC /Tcc:userskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_misc.c /Fobuildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_misc.obj
art_misc.c
C:Program Files (x86)Microsoft Visual Studio 12.0VCBINamd64link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:Python27libs /LIBPATH:C:Python27PCbuildamd64 /EXPORT:init_renderPM buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-parset1.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-dict.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-namecontext.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMgt1gt1-region.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_vpath_bpath.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_pixbuf_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_svp.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_vpath.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_vpath_stroke.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_ops.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_vpath.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_vpath_dash.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rect.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_affine_private.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_rgb_rgba_affine.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_intersect.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_svp_render_aa.obj buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPMlibart_lgplart_misc.obj /OUT:buildlib.win-amd64-2.7reportlabgraphics_renderPM.pyd /IMPLIB:buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.lib /MANIFESTFILE:buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.pyd.manifest
Creating library buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.lib and object buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.exp
C:Program Files (x86)Windows Kits8.1binx64mt.exe -nologo -manifest buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_renderPM.pyd.manifest -outputresource:buildlib.win-amd64-2.7reportlabgraphics_renderPM.pyd;2
buildtemp.win-amd64-2.7Releaseuserskvincentappdatalocaltemppip-build-kvincentreportlabsrcrl_addonsrenderPM_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:Python27python.exe -c "import setuptools;__file__='c:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record c:userskvincentappdatalocaltemppip-zbzt97-recordinstall-record.txt --single-version-externally-managed failed with error code 1 in c:userskvincentappdatalocaltemppip-build-kvincentreportlab
Exception information:
Traceback (most recent call last):
File "C:Python27libsite-packagespipbasecommand.py", line 139, in main
status = self.run(options, args)
File "C:Python27libsite-packagespipcommandsinstall.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:Python27libsite-packagespipreq.py", line 1185, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:Python27libsite-packagespipreq.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:Python27libsite-packagespiputil.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command C:Python27python.exe -c "import setuptools;__file__='c:\users\kvincent\appdata\local\temp\pip-build-kvincent\reportlab\setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record c:userskvincentappdatalocaltemppip-zbzt97-recordinstall-record.txt --single-version-externally-managed failed with error code 1 in c:userskvincentappdatalocaltemppip-build-kvincentreportlab
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
Get a precompiled binary here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#reportlab
Installing non-compiled Python libraries on Windows is a pain: don’t put yourself through it. Just make it simple: get something already made for you.
I found issues to install reportlab in python 2.7
I recommend you to upgraded with python 3.6 and you can install reportlab using pip command
‘pip install reportlab’