python - packing selenium with py2exe -
i'm trying pack selenium py2exe howerever despite following instructions here python - trouble in building executable
with setup.py being:
from distutils.core import setup import py2exe setup( console=['planofcaremodified9gui.pyw'], options={ "py2exe":{ "skip_archive": true, "unbuffered": true, "optimize": 2 } } )
copying , pasting webdriver_prefs.json
and webdriver.xpi
dist directory instructed link above. still spits out this:
filenotfounderror: [errno 2] no such file or directory: 'c:\\python34\\dist\\lib rary.zip\\selenium\\webdriver\\firefox\\webdriver_prefs.json'
i have been searching on internet 2 days , still found nothing. closest came solution on link above. none of answers fixes issue.
i on python 3.4 , using selenium 2.45.0
i've tried putting webdriver_prefs.json
and webdriver.xpi
inside library.zip when app ran error still there.
how solve this
Comments
Post a Comment