Re: [PyInstaller] pyinstaller not working with gphoto2; how do i force a brew library into the build

2020-04-03 Thread Abasi Brown
1. Try opening the spec file and after the line that says 'block_cipher = None' put: def get_gphoto2_path(): import gphoto2 gphoto2_path = gphoto2.__path__[0] return gphoto2_path 2. Then after the lines that say 'pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)' put:

Re: [PyInstaller] pyinstaller + librosa: "Module not found" for EXE, even w/ hidden import?

2020-04-03 Thread Abasi Brown
revise step one: def get_librosa_path(): import librosa librosa_path = librosa.__path__[0] return librosa_path On Fri, Apr 3, 2020 at 8:38 AM Abasi Brown wrote: > 1. Try opening the spec file and after the line that says 'block_cipher = > None' put: > > def get_

Re: [PyInstaller] pyinstaller not working with gphoto2; how do i force a brew library into the build

2020-04-03 Thread Abasi Brown
Then run the executable. On Fri, Apr 3, 2020 at 9:06 AM Abasi Brown wrote: > 1. Try opening the spec file and after the line that says 'block_cipher = > None' put: > > def get_gphoto2_path(): > import gphoto2 > gphoto2_path = gphoto2.__path__[0] > return

Re: [PyInstaller] pyinstaller + librosa: "Module not found" for EXE, even w/ hidden import?

2020-04-03 Thread Abasi Brown
1. Try opening the spec file and after the line that says 'block_cipher = None' put: def get_librosa_path(): import librosa librosa_path = sklearn.__path__[0] return librosa_path 2. Then after the lines that say 'pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)' put:

Re: [PyInstaller] numpy using mkl libraries

2020-07-07 Thread Abasi Brown
include numpy as a hidden library from the command line: pyinstaller your_script.py --hidden-import=numpy On Mon, Jul 6, 2020 at 10:41 AM Ricardo A Corredor J wrote: > Hi everyone, > > I have a python code that internally uses *numpy *(plus other > dependencies) to perform some basic

Re: [PyInstaller] PyDrive not getting included in PyInstaller package

2021-03-29 Thread Abasi Brown
you need to add pydrive using a hook, or directly as a tree in the .spec file that pyinstaller creates. I dont know if you can do the second option using fbs freeze or not. On Sat, Mar 27, 2021 at 12:24 PM Eddie Espinal wrote: > I have an pyqt5 app that uses the pydrive library to access