using sen2cor to convert TOA product into BOA product in sentinel 2A image from 2016 February

have you tried to run sen2cor from the command line? It’s easy to apply and less prone to configuration errors.
Please see this comment here: Sen2Cor-02.05.05-win64 - AttributeError: 'L2A_Tables' Object has no attribute '_L2A_Tile_PVI_File'