Python Forum
PyInstaller not picking up selenium and urllib3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyInstaller not picking up selenium and urllib3
#4
(Apr-26-2019, 11:08 AM)davork Wrote: This is the command that I run to generate an executable : pyinstaller.exe --onefile --icon=01.ico -- myscript.py
After you use this command pyinstaller.exe --onefile --icon=01.ico myscript.pyyou will get a myscript.spec file.
Edit the spec file to explicitly add hidden imports
then use pyinstaller.exe --onefile --icon=01.ico myscript.spec
https://pythonhosted.org/PyInstaller/spec-files.html
by the way you may include also the icon in the spec file
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: PyInstaller not picking up selenium and urllib3 - by buran - May-08-2019, 12:28 PM

Forum Jump:

User Panel Messages

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