using pyinstaller when importing pygsheets #489
-
Hi everyone!
this is the cmd command I used to create the exe file: it created three folders in this directory called: 'dist', 'build', and 'pycache' after it finished running successfully, I copied my Service Accounts Key (json file) to the 'dist' folder created by Pyinstaller. (I also tried adding the file using --add-data when running pyinstaller for the first time on the file but it returns the same error) then I tried clicking the exe file, which was when it returned the above error. I tried everything!! any help / tips would be amazing! Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
for some reason your script cant download the discovery document. can you try adding it with --add-data? this one "C:\Users\Asus\AppData\Local\Temp\_MEI102362\pygsheets\data\sheets_discovery.json" |
Beta Was this translation helpful? Give feedback.
-
A fix for this is deployed in staging. more info |
Beta Was this translation helpful? Give feedback.
A fix for this is deployed in staging. more info