I have a program that pools ad stats from different marketing systems. Everything works fine untill i convert it to the .exe format and run it.
Exception in
This might be issue with requests
package.
I solved this by manually copying the cacert.pem
file from /lib/site-packages/certifi
to /lib/site-packages/requests
If you want to fix this issue with .exe
, then cacert.pem
file from /lib/site-packages/certifi
to dist/library.zip/certifi/
.
I am considering you have created exe
using py2exe
, where py2exe
will create library.zip
under dist/
which contains of all script dependencies. I don't know if other exe
converters create library.zip
.
Hope this helps.