Trying to use Py2exe, keep getting errors

60 Views Asked by At

I have small program made in python with selenium, and now I'm trying to make an .exe with py2exe.. I get the exe but when I run it, terminal just pops up for split second then it terminates.

I tried to run .exe in cmd and It says that there is no such file as webdriver_prefs.json

Here is the setup.py I have:

from distutils.core import setup
import py2exe
setup(console=['file_name.py'])

Any input on how to resolve this is welcome.

Cheers.

0

There are 0 best solutions below