pyinstaller

Accessing Python interpreter from a PyInstaller bundle

依然范特西╮ 提交于 2020-12-09 03:44:38
问题 I have a program (suppose it is called "PROG") that spawn Pronsole.py (3D Printing). If it is just interpreted by Python, it works good in GNU/Linux and Windows. This is the line that works: self.pronTranspProc=reactor.spawnProcess(self.pronProtProc, pythonPath, [pythonPath, "pronsole.py"], os.environ, self.pronPathPrintrun) When Python is the normal interpreter, "pythonPath" will be just the path to that interpreter, since it is sys.executable. But when a bundle is made with Pyinstaller so

pyInstaller changing dll and pyd output location

倖福魔咒の 提交于 2020-11-30 06:44:30
问题 I'm trying to use pyInstaller to package a wxpython application. I looking for a variation of the "one-folder" mode whereby the dlls and pyds are not stored in the top-level directory but in a subdirectory instead (like "dlls" or "libs"). This is the spec file currently: # -*- mode: python -*- import os a = Analysis\ ( ["..\\job_scraper\\load_gui.py"], pathex = ["C:\\Users\\Administrator\\Documents\\Projects\\python\\PyInstaller\\load_gui"], hiddenimports = [], hookspath = None, runtime_hooks

pycharm

纵饮孤独 提交于 2020-11-29 20:18:17
配置路径 C:\Users\xxxxxxxxxx\AppData\Roaming\JetBrains\PyCharm2020.2\plugins C:\Users\xxxxxxxxxx\AppData\Roaming\JetBrains\PyCharm2020.2\pycharm64.exe.vmoptions External Tools Qt UI Group: External Tools Program: C:\Qt\5.12.0\mingw73_64\bin\designer.exe Working directory: $ProjectFileDir$ PyUIC Group: External Tools Program: C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\python.exe Arguments: -m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py Working directory: $FileDir$ py to exe x32 Group: External Tools Program: C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\Scripts