pyinstaller

    0热度

    1回答

    我已经在Python 3.5.2上通过pip安装了PyInstaller,但是我无法让它工作。 在.py文件所在的文件夹中运行命令提示符并在'PyInstaller practicaGUI.py'中输入后,我得到this错误。 有没有办法解决这个问题? 如果不是,还有什么替代方案? 编辑: 我pyinstaller-script.py看起来像this

    0热度

    1回答

    我尝试了pyinstaller一个与控制台和一个没有一个选项。 我使用的是Windows 10,Python 3.5.4,Windows Chrome驱动程序2.33和Selnium 3.6.0以及Pyinstaller 3.3。 该一个而不控制台失败: 这里是代码Test.py #!python3 from selenium import webdriver # Chrome Proxy

    1热度

    3回答

    我有一个脚本,需要能够将自己的完整路径保存到变量中。 到目前为止,我曾尝试: sys.argv[0] os.path.realpath(__file__) os.path.abspath(__file__) 这些与普通Python脚本我有所有的工作。但是,一旦我使用pyinstaller将其转换为可执行文件,上述方法不再适用于获取.exe的路径。他们要么将.exe检测为.py,要么完全不检

    0热度

    1回答

    我已经得到了我用pyInstaller创建一个exe文件一点点Python应用程序: import subprocess try: taskCommand = 'tasklist /FI "ImageName eq pc-client.exe"' reply = subprocess.Popen(taskCommand, stdout = subprocess.PIPE).

    3热度

    2回答

    我尝试安装并运行它,但是我这样做并不起作用。 C:\Users\Dino Non Admin>py -m pip install pyinstaller Collecting pyinstaller Using cached PyInstaller-3.3.tar.gz Requirement already satisfied: setuptools in c:\users\din

    2热度

    1回答

    我想分发我的Python代码运行Windows 7 +的机器上。它由几个主文件为cprofiles_lmfit.py的.py文件和一个文件cprofiles.ui组成,用于描述文档的GUI和.pdf。 我有一个硬时间(参见build a .exe for Windows from a python 3 script importing theano with pyinstaller例如),但最终取

    1热度

    1回答

    你好,我为我的学习学习python。 现在我试图使用pyinstaller来获取.exe文件,因为它更容易分享。 我的小程序使用Tkinter的,numpy的和matplotlib但是当我尝试启动它,什么也没有发生,它很奇怪,因为我得到的编译过程没有错误: pyinstaller main.spec 531 INFO: PyInstaller: 3.4.dev0+133d18156 531 I

    1热度

    1回答

    我运行下面的代码: pyinstaller --onefile main.py main.py样子: import sys import os sys.path.append(r'C:\Model\Utilities') from import_pythonpkg import * ...... import_pythonpkg.py样子: from astroML.densit

    0热度

    1回答

    我想创建一个包含PyQt5的独立exe。我用PyInstaller和指定的文件夹在哪里可以找到.dll如下: pyinstaller --paths C:\...\Anaconda3\Library\bin --onefile --windowed test.py 的exe创建成功,当我运行exe,将出现以下错误消息: FYI ,我的配置如下: Anaconda3 4.2.0与Python 3

    1热度

    1回答

    我想问是否有可能使用pyinstaller没有额外的文件('.dll'文件)和其他东西在输出中。 我尝试了一个使用简单的脚本和使用pyinstaller,也许一个小时前,我不是很满意它,似乎有很多额外的文件,我'只'喜欢有.exe文件,并没有控制台窗口。 感谢 我使用python 2.7和3.3 pyinstaller