#SNR-connectionerror
1 messages · Page 1 of 1 (latest)
My guess is that either you have the file, but it's not in the correct place or the file was accidentally removed at some point - it should have been included when you installed the stripe library
when i pip install it, it should be in here somewhere?
ah i have found it
but how do i make it so it works in the APP too?
shall i add a path to crt within APP Dir
if you add the ca-certificates.crt file to the path specified in the error C:\Users\Noah\AppData\Local\Temp\_MEI429922\stripe\data\ca-certificates.crt that should work
hmm
- i dont seem to have the path
and 2) will it work for other users too?
maybe ill make the folder
the _MEI429922 part changes each time
lets back up for a minute - how did you install stripe, and how are you running your code
sure,
i did pip install stripe and i am running my code through the terminal, when i run on terminal it works
however when i compile to exe, it throws that connection error
What command are you using to compile to exe?
pyarmor pack -s main.spec -e " --onefile --icon favicon.ico" --with-license licenses\main\license.lic main.py
Yeah so this must be something specific to how pyarmor works - it's not copying over the package_data that stripe needs to the correct place. I don't know enough about pyarmor to give specific recommendations, but I'd recommend looking through their documentation to see if there's any information on working with dependencies / package_data
you too!