使用Google api,程序能正常运行,但使用PyInstaller打包后出现ssl验证错误
Error: Exception in ‘grpc._cython.cygrpc.ssl_roots_override_callback’ ignored
assertion failed: pem_root_certs != nullptr
解决办法
找到Python安装路径下的\Lib\site-packages\grpc_cython_credentials\roots.pem,
并拷贝到打包后的exe文件目录下。