I want to create an exe for a user to run the Python program. In Visual Studio Code Terminal I typed PS C:\Users\dee.dee> pyinstaller "C:\Users\dee.dee\desktop\Test.py".
It created the Test directory under C:\Users\dee.dee\dist\ and C:\Users\dee.dee\build\. The Test.exe was created in the Test directory. I clicked on both Test.exe. Only the Test.exe under \dist\ works. The Test.exe under \build\ blinked and closed.
I copied the Test.exe from \dist\ to a shared directory for the user. It didn't work, just blinked and closed.
What did I miss? Thanks.
It created the Test directory under C:\Users\dee.dee\dist\ and C:\Users\dee.dee\build\. The Test.exe was created in the Test directory. I clicked on both Test.exe. Only the Test.exe under \dist\ works. The Test.exe under \build\ blinked and closed.
I copied the Test.exe from \dist\ to a shared directory for the user. It didn't work, just blinked and closed.
What did I miss? Thanks.