Mac下将Python程序打包运行时报错 Could not find a suitable TLS CA certificate bundle, invalid path: */cacert.pem
文章目录前言错误原因解决方法1. 在使用requests的py文件中添加如下命令,然后重新打包2. 将`cacert.pem`文件拷入重新打的包中补充前言Mac下将Python程序打包,打包成功运行时报错Could not find a suitable TLS CA certificate bundle, invalid path: ***/certifi/cacert.pem错误原因因为该Python程序包含了requests模块,在打包时没有将cacert.pem文件打进去解决方..