pyinstaller

Installing pyinstaller via pip leads to “failed to create process”

断了今生、忘了曾经 提交于 2019-12-28 04:07:11
问题 Does anyone know why pyinstaller immediately fails after installed via pip via anaconda 32bit ? I installed pyinstaller via pip install pyinstaller through the anaconda command prompt on Windows 64 bit using 32 bit anaconda (because I want to create 32 bit executables) Yes I read pyinstaller --version failed to create a process and pip/easy_install failure: failed to create process and How to install pyinstaller using pip I did not rename any files I installed anaconda 15 mins ago, pycharm 10

python GUI to EXE with image and modules

六月ゝ 毕业季﹏ 提交于 2019-12-25 12:10:00
问题 I have created a Python GUI and trying to convert it to .exe with py2exe. i am using following modules wx,matplotlib,numpy,time,serial,random and a .ico image as logo. i tried create a setup.py file but it didn't work.need help creating setup file to generate .exe of my GUI. 回答1: It would be convenient if you could provide some details regarding why the .EXE is not being created. If you can't provide the details then please go through these questions on Stackoverflow, they maybe helpful: How

python GUI to EXE with image and modules

南笙酒味 提交于 2019-12-25 12:09:56
问题 I have created a Python GUI and trying to convert it to .exe with py2exe. i am using following modules wx,matplotlib,numpy,time,serial,random and a .ico image as logo. i tried create a setup.py file but it didn't work.need help creating setup file to generate .exe of my GUI. 回答1: It would be convenient if you could provide some details regarding why the .EXE is not being created. If you can't provide the details then please go through these questions on Stackoverflow, they maybe helpful: How

Include gspread module using py2exe, pyinstaller

≡放荡痞女 提交于 2019-12-25 09:59:12
问题 I have created a python application which fetches data from a google spreadsheet and performs the required operation and outputs files with the data accordingly. The application works fine through my ide and the console. I'm using gspread and Tkinter for accessing the google sheets and for the GUI respectively. However when I try to create it into an exe. I keep running into errors. First I tried using py2exe but I keep getting the error ImportError: No module named gspread My setup.py is

Python 2.7 The 'packaging' package is required; normally this is bundled with this package

≡放荡痞女 提交于 2019-12-25 07:28:53
问题 I expect this has to do with the cryptography module, but I'm not sure. Traceback (most recent call last): File "<string>", line 11, in <module> File "c:\python27\lib\site-packages\PyInstaller-2.1-py2.7.egg\PyInstaller\load er\pyi_importers.py", line 270, in load_module exec(bytecode, module.__dict__) File "C:\Python34\Stuff\Encrypt\build\encrypt\out00-PYZ.pyz\pkg_resources", li ne 68, in <module> File "C:\Python34\Stuff\Encrypt\build\encrypt\out00-PYZ.pyz\pkg_resources.exte rn", line 60, in

using pyinstaller to package python program and there is a “NoModuleFindError”

别等时光非礼了梦想. 提交于 2019-12-25 02:22:21
问题 I use pyinstaller to package my python program into executable program(exe). my program version: Pyinstaller :3.3.1 Python :3.6.1 Windows:10-10.0.16299-SP0 I can run the data_processing_gui.py file with the command "python data_processing_gui.py" in my command-line window without any ERROR. I use the command to package my python program(which name is data_processing_gui.py): pyinstaller -F -p C:\Users\fanyu\Anaconda3\Lib;C:\Users\fanyu\Anaconda3\Lib\site-packages;C:\Users\fanyu\Anaconda3\Lib

While compiling .exe from .py file, how to fix ''ImportError: DLL load failed"?

瘦欲@ 提交于 2019-12-25 01:13:42
问题 I am new in programming. I have a Python code (named "adm_dicing.py") that includes some modules (numpy, scipy, matplotlib, etc.) and some others written by myself. It does some calculation and plot some figures (I haven't write if name = main in my code). When I compile the code on command line of Windows (I have windows 7) by entering: "C:\ProgramData\Anaconda3\Scripts\pyinstaller.exe" adm_dicing.py I got a mere .spec file, containing: # -*- mode: python -*- block_cipher = None a = Analysis

ImportError: DLL load failed: The specified module could not be found — IBM DB2

帅比萌擦擦* 提交于 2019-12-24 19:56:16
问题 I know there have been many people with this same issue, but here is my situation which I have not been able to find the exact same problem. I am building an executable with pyinstaller and I keep getting the importError. I am using ibm_db package to connect to a IBM DB2 database and do inserts into a table using pandas to_sql method. I used pyinstaller on my program before I added the SQL code so I'm pretty sure it has something to do with my trying to connect to DB2, but for the life of me

How to include images in one file with python pyinstaller

流过昼夜 提交于 2019-12-24 18:48:51
问题 I have image locations included in my python code but when I compile to an exe with pyinstaller using one file and all of the --add-data commands, the exe wont run stating that the image can not be found. This is my spec file # -*- mode: python -*- block_cipher = None a = Analysis(['datasorter.py'], pathex=["C:\\Users\\Rat's Nest\\Desktop\\DATASORTERS\\V1.1"], binaries=[], datas=[('clogo.png', '.'), ('FullLogo.png', '.'), ('logo.ico','.')], hiddenimports=[], hookspath=[], runtime_hooks=[],

Pyinstaller - Django with custom admin commands

☆樱花仙子☆ 提交于 2019-12-24 18:47:35
问题 I'm trying to compile Django (1.8) app which has 2 custom commands on windows 7. We use pandas and other sci libs so we run the application via anaconda3. When we use the Pyinstaller (version 3.0, add to the anaconda3 via anaconda pip script): c:\Anaconda3\Scripts\pyinstaller.exe --name=compileTest --exclude-module=PyQt4 --exclude-module=matplotlib manage.py We get a Django executable project but without the custom commands. Can someone advice? 回答1: This worked for me by including /