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.jsonand 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.jsonand webdriver.xpi inside library.zip when app ran error still there.

how solve this


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -