Ask coding questions

← Back to all posts
Why does this work completely fine on this website, but when I download it, it just breaks.
prodlilhuff

Like I'm trying to compile it into an exe file, but when I run the script before compiling it, it just does not work like it does on repl.

Voters
prodlilhuff
Comments
hotnewtop
19ecal

Make sure you have the external packages installed on your PC
On windows, you can install them with the cmd or powershell command py -m pip install rand_string, as this is the only one you appear to be actually using
Also, what are you using to compile into an exe

prodlilhuff

@19ecal I have rand-string and pandas installed to my path and they run perfectly. For some reason my key.py file decides to do something completely different on my pc than it does for repl. I may just have to recode it on my pc.