[PyInstaller] very slow start

2016-09-16 Thread maurice
Hello! I'm using Pyinstaller to distribute a standalone application for co-workers (without having to install python plus everything else on their machine - guess that's how most people use it) I succesfully create the .exe (although sometimes weird happens too) and it runs on someone else's ma

[PyInstaller] Re: " 'pyinstaller" is not recognized as an internal or external command, operable program or batch file"

2016-09-16 Thread Thomas Huffington
https://pyinstaller.readthedocs.io/en/stable/installation.html#installing-from-the-archive Sometimes it helps to RTFM ;^) 2016年9月5日月曜日 5時14分25秒 UTC-7 Owen Walker: > > Am trying to use pyinstaller in Windows 10. My Python 3 program is called > sebzo.py and is in the C:\Users\Owen Walker\Dropbox

[PyInstaller] slow start pyinstaller .exe on Windows

2016-09-16 Thread maurice
Hi, I am using pyinstaller to distribute an application I have developed but in a way that nothing needs to be installed on users' machines. Guess that's how most people use it. I succesfully created the .exe but it can take up to 1min30s to the main screen to show up. The best performance I g

[PyInstaller] OS X + PyInstaller + Matplotlib/Scipy advice - best chance of working?

2016-09-16 Thread Craig Stark
A year or so ago, I managed to get a small tool working with Pyinstaller using Anaconda2. I'm hoping to get the same tool working again using a fairly current PyInstaller, so that I might sign the code. So far, I've hit a lot of roadblocks and am hoping for a bit of advice. TL; DR: What combi

[PyInstaller] How to choose Pyinstaller Python compiler on Raspberry PI?

2016-09-16 Thread Gianluca Storti
Hi everyone, in the last days, I have finally finished my project and I started using PyInstaller, actually a great and easy tool for compiling python! My project, that uses a Raspberry Pi 2 and Jessie OS, is composed of files for Python2.7 and files for Python3 and here is the problem: First,

[PyInstaller] pywintypes.error when running an executable.

2016-09-16 Thread Yousef El-Khalili
I have python code for a system tray and I want to turn it into an executable. The code runs fine when I run it from eclipse but when I turn it into an executable using the command pyinstaller -F systray.pyw The executable runs but is missing the icon and when I right click on it to open up

[PyInstaller] wxpython build issues

2016-09-16 Thread Thomas Huffington
Hi, I'm having some issues building a onefile app using wxpython 3.0.2.0 with pyinstaller 3.3.dev0-b78bfe5 on osx 10.11.6, and I was wondering if anyone else has run into the same problem, described in this thread ). Basically every time I

[PyInstaller] how to force Pyinstaller to leave a dependencies out of the bundle?

2016-09-16 Thread Gianluca Storti
Hi Everyone, I have the need to leave outside of the bundle one file that I can constantly edit. For example my executable has to read a table of variables that I need to frequently edit. How can I force PyInstaller to leave out that dependency? Thanks in advance -- You received this message b

[PyInstaller] Re: OSError: Python library not found: Python, .Python, libpython3.5.dylib

2016-09-16 Thread Craig Stark
I've hit this error as well and Googling turned up some potential issues with the way the Anaconda library is currently built. If you do an "otool -L" on that dylib, you'll see it doesn't have @rpath in front of it. Macs are very picky in how they chose to load a dylib and names and locations

Re: [PyInstaller] very slow start

2016-09-16 Thread Hartmut Goebel
Am 15.09.2016 um 20:57 schrieb maurice: > I succesfully create the .exe (although sometimes weird happens too) > and it runs on someone else's machine but it takes too long to start. If you are using --onefile mode, switch to --onedir mode, which does not require to unpack stuff on startup. -- S

Re: [PyInstaller] how to force Pyinstaller to leave a dependencies out of the bundle?

2016-09-16 Thread Hartmut Goebel
Am 15.09.2016 um 19:57 schrieb Gianluca Storti: > How can I force PyInstaller to leave out that dependency? You need to *not* make this file a module, but handle it like a data file. If you really want to handle it like a module, you'll need to use --exclude-module and implement your own import me

Re: [PyInstaller] How to choose Pyinstaller Python compiler on Raspberry PI?

2016-09-16 Thread Hartmut Goebel
Am 15.09.2016 um 19:50 schrieb Gianluca Storti: > Is anyone able to guide me how to fix this problem? I searched in the > PyInstaller manual but I was not able to find any option to specify > the compiler on the command line Both pip and pip3 install the pyinstaller script into the same place (e.g

Re: [PyInstaller] How to choose Pyinstaller Python compiler on Raspberry PI?

2016-09-16 Thread Hartmut Goebel
Am 16.09.2016 um 13:22 schrieb Hartmut Goebel: > b) do not *install* pyinstaller, but jsut download and unpack the > archive. Then you can run it using either For this see https://pyinstaller.readthedocs.io/en/stable/installation.html#installing-from-the-archive -- Schönen Gruß Hartmut Goebel D

Re: [PyInstaller] how to force Pyinstaller to leave a dependencies out of the bundle?

2016-09-16 Thread Steve Barnes
On 16/09/2016 12:18, Hartmut Goebel wrote: > Am 15.09.2016 um 19:57 schrieb Gianluca Storti: >> How can I force PyInstaller to leave out that dependency? > > You need to *not* make this file a module, but handle it like a data > file. If you really want to handle it like a module, you'll need to

Re: [PyInstaller] How to choose Pyinstaller Python compiler on Raspberry PI?

2016-09-16 Thread Steve Barnes
On 16/09/2016 12:22, Hartmut Goebel wrote: > Am 15.09.2016 um 19:50 schrieb Gianluca Storti: >> Is anyone able to guide me how to fix this problem? I searched in the >> PyInstaller manual but I was not able to find any option to specify >> the compiler on the command line > > Both pip and pip3 i