Re: [PyInstaller] No module named 'packaging.specifiers' (resolved)

2019-06-30 Thread Eric Fahlgren
A recent post on py-dev (first link below) makes me think there is a way to fix this issue without changing PyInstaller, albeit with a bit of ctypes coding needed, at least until 3.8 is available. (I'm sensitive to this as I know our application will need to adapt, so I thought I'd toss this out

[PyInstaller] Failed to use mne libraries in runtime. Pyinstaller

2019-06-30 Thread Ferney beltran velandia
Hi everyone, I am trying to make a .exe file from python code, which imports mne libraries for EEG data analyses. I can generate the .exe file using the command line "pyinstaller myScript.py" without problems. However, when I execute the program, the next error is shown: FileNotFoundError:

[PyInstaller] Pyinstaller bootloader fails compile on AIX 7.2

2019-06-30 Thread Bruce Van Horn
I'm trying to install pyinstaller on AIX 7.2. *pip3 install pyinstaller *gives me Waf: Entering directory `/tmp/pip-install-9qmkycy2/pyinstaller/bootloader/build/debug' [ 1/13] Compiling src/pyi_python.c [ 2/13] Compiling src/pyi_global.c [ 3/13] Compiling src/main.c [ 4/13] Compiling

[PyInstaller] Pyinstaller on AIX

2019-06-30 Thread Bruce Van Horn
I'm trying to install pyinstaller on aix. When I use pip (python 3) to install it, it tells me the bootloader couldn't be built, then it says to try to build it manually. Building it manually yields a set of errors: ../../src/pyi_path.c: In function 'pyi_path_join':

[PyInstaller] Authentication on exe file

2019-06-30 Thread Chee Siang Ng
I created an exe file using PyInstaller. The Python script used this library: https://pypi.org/project/requests-negotiate-sspi/ for authentication. For some reason, after I changed the script from Python to exe, it lost authentication rights. Apparently it can't import the authentication

Re: [PyInstaller] No module named 'packaging.specifiers' (resolved)

2019-06-30 Thread Eric Fahlgren
Randy, Thanks for the background, always useful to know other's problems in case there's any overlap. Eric On Wed, Jun 19, 2019 at 2:38 PM gpraceman wrote: > Eric, > > I had been using PyInstaller to package up my Gtk3 app for years, on > Python 3.4. My problem came about when I needed to

Re: [PyInstaller] Pygame and PyInstaller

2019-06-30 Thread Vincent Le Goff
Okay, here's my temporary fix: 1. Add a default font file in your game.  My choice is the 'freesansbold.ttf' as this one does seem standard and is included in Pygame (you'll find it in its source code, if nothing else, or site-packages/pygame/freesansbold.ttf). 2. Add a few line before

[PyInstaller] PyInstaller cannot parse "HMODULE WINAPI LoadLibraryExW(LPCTSTR lpFileName, HANDLE hFile, DWORD dwFlags);"

2019-06-30 Thread Chuck Recker
I'm trying to make a 1 python file executable. I'm using the command: > pyinstaller -- -w My_program.py and I'm getting the error: >Traceback (most recent call last): File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File

Re: [PyInstaller] Pygame and PyInstaller

2019-06-30 Thread Vincent Le Goff
Thank you, it was most helpful.  Unfortunately, the linked issue is closed and doesn't seem to have as much connection to the problem as I'd like (or an open issue on the PyInstaller tracker itself).  I'm wondering if this will be "fixed", in any way, or if we should live with it.  In my case,

[PyInstaller] Runtime error with mne libraries

2019-06-30 Thread Ferney beltran velandia
Hi everyone, I am trying to make a .exe file from python code, which imports mne libraries for EEG data analyses. I can generate the .exe file using the command line "pyinstaller myScript.py" without problems. However, when I execute the program, the next error is shown: FileNotFoundError:

[PyInstaller] pyinstaller adding data from csv

2019-06-30 Thread Dallon Durfey
So I'll start off by saying I'm somewhat new to python and using pyinstaller, but I've been reading a lot and cannot find a solution to the problem I'm experiencing I'm trying to bundle a csv file with some data when using pyinstaller. I've successfully done this by by using the --add-data

[PyInstaller] Problem converting script generated in Anaconda environment to stand-alone executable using PyInstaller

2019-06-30 Thread Timothy Wiles
I'm fairly new to coding, so please forgive any misuse of terminology or any ignorance. I have written a Python script in the Spyder IDE in the Anaconda environment. I believe the only thing I am importing that is not part of the Python standard library is MatPlotLib. I installed PyInstaller