Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
py2exe failed to compiled
#7
(Feb-27-2019, 06:05 PM)snippsat Wrote:
(Feb-27-2019, 05:45 PM)gahhon Wrote: Then in my script, I must add the pyglet.lib.load_library('avbin.dll') pyglet.have_avbin=True
But in your post, you were mentioned that pyglet & avbin is for the playing. But what if for Selenium?
Do you not understand that this a example of including external dependencies and has nothing to with your build.
You should of course not add pyglet & avbin in your build,why do i even need to explain this Dodgy

Selenium has at least one external dependencies which is the web-driver,
so a simple solution could eg to have chromedriver.exe together with the build .exe.
I have build Selenium with pyinstaller before(working),but it's long time ago so don't remember all the build steps.

Yes. I did put the chromedriver.exe together with my build.exe and test it on NON-Python machine, but the error is saying
Error loading Python DLL
'.....\python37.dll'
LoadLibrary: Pyinstaller: FormatMessagW Failed.

And I also found this Create a Python executable with chromedriver & Selenium
Will give it a shot by tomorrow.
Reply


Messages In This Thread
py2exe failed to compiled - by gahhon - Feb-27-2019, 12:44 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 01:28 PM
RE: py2exe failed to compiled - by gahhon - Feb-27-2019, 03:44 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 04:47 PM
RE: py2exe failed to compiled - by gahhon - Feb-27-2019, 05:45 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 06:05 PM
RE: py2exe failed to compiled - by gahhon - Feb-27-2019, 07:07 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 08:49 PM
RE: py2exe failed to compiled - by gahhon - Feb-28-2019, 10:26 AM
RE: py2exe failed to compiled - by gahhon - Mar-04-2019, 03:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Py2exe Writing UNKNOWN-0.0.0-py3.7.egg-info sarahroxon7 1 998 Apr-20-2022, 08:02 AM
Last Post: VadimCr
  Py2exe and pycryptodome reks2004 5 4,313 Dec-16-2020, 06:42 PM
Last Post: reks2004
  I need my compiled Python Mac app to accept a file as a parameter Oethen 2 2,511 May-10-2020, 05:57 PM
Last Post: Oethen
  compiled cpython output wrong version bigrockcrasher 0 1,557 Feb-25-2020, 06:31 PM
Last Post: bigrockcrasher
  Py2exe Writing UNKNOWN-0.0.0-py3.7.egg-info Rickus 2 3,772 Feb-18-2020, 03:09 PM
Last Post: Rickus
  Hello Im looking for a compiled window version of 3.4.x ... SlowMotion 2 2,304 Feb-12-2019, 08:13 PM
Last Post: SlowMotion
  What are ways of pointing cross-compiled origin source line for python? wyvogew 2 2,914 Feb-02-2019, 03:16 PM
Last Post: wyvogew
  py2exe keegan_010 4 4,623 Aug-22-2018, 07:58 AM
Last Post: buran
  How would I combine multiple .py files into one .exe with Py2Exe shlomi27 0 3,178 Aug-20-2018, 10:27 AM
Last Post: shlomi27
  jira-2.0.0.dist causing error with py2exe johnlawlor 1 2,608 Aug-09-2018, 08:27 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020