exe

pyinstaller failed to execute script pyi rth pkgres

≡放荡痞女 提交于 2021-02-04 21:28:16
问题 I have an exe file that I made with pyinstaller and when I try to run it it gives me this error: ModuleNotFoundError: No module named 'pkg_resources.py2_warn' [50728] Failed to execute script pyi_rth_pkgres the python script contains a scheduler using BlockingScheduler from apscheduler.schedulers.blocking that works when I execute it as a python script, but return this error as an exe file. 回答1: Saw this answer on stackoverflow (can't remember the url): Here's what you need to do: Step:1 pip

How can you convert HTML, CSS, and Javascript into a EXE? [closed]

ε祈祈猫儿з 提交于 2021-02-04 13:52:37
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . Improve this question All of the answers to this question so far as I can see are confusing... can someone give me a detailed way to make EXE apps with HTML? 回答1: No. In the strict sense you can't. HTML was mainly invented to design and exchange documents written for a browser

Python 2.7 : How to get rid of cmd window while running a python gui .exe script

こ雲淡風輕ζ 提交于 2021-01-29 10:13:53
问题 I have a GUI script run.py which i turned into a .exe file using pyinstaller. When I double click on the .exe file two windows are opened. First the main GUI of my script and second the empty black cmd window on background. I saw on forums that saving run.py as run.pyw and then converting it into .exe file will solve the problem. But in my case the problem remains same. Does anyone have any idea how to get rid of this empty cmd window on background when i run my .exe file? 回答1: try to build

Dumpbin output meaning below .dll import part

北城以北 提交于 2021-01-28 11:33:37
问题 Here is a part of what I got when run dumpbin .exe file. Section contains the following imports: KERNEL32.dll 5A71E8 Import Address Table 620468 Import Name Table 0 time date stamp 0 Index of first forwarder reference 458 SetErrorMode 2B9 GlobalFlags 64 CompareStringW 206 GetLocaleInfoW 26E GetSystemDefaultUILanguage 418 RtlUnwind 300 IsDebuggerPresent 304 IsProcessorFeaturePresent B5 CreateThread 11A ExitThread 119 ExitProcess 217 GetModuleHandleExW 2D1 HeapQueryInformation 487 SetStdHandle

cx_freeze error with tkinter library treectrl converting to exe setup

无人久伴 提交于 2021-01-28 04:23:09
问题 I am using python version 3.7 , I used this external library named treectrl and it works perfectly fine when I run my .py file but when I converted into exe file using cx_freeze it is giving me error NomodulleFound named tkinter. I have tried other small programs which does not use this library and I converted them in to exe file they work perfectly fine. So the idea which I got is that there is problem with this library. So I can't figure out what part this. I provided all codes , all

PyInstaller maximum recursion error after pre-safe import module hook [six.moves]

倾然丶 夕夏残阳落幕 提交于 2021-01-27 23:06:44
问题 I am trying to use PyInstaller to convert my python3.5 project into an .exe file My main file is SegTool.py This is my .spec file: # -*- mode: python -*- block_cipher = None a = Analysis(['SegTool.py'], pathex=['consts.py', 'FetalMRI_about.py', 'FetalMRI_mainwindow.py', 'FetalMRI_workspace.py', 'image_label.py', 'main_window.py', 'scan_file.py', 'segment3d_itk.py', 'Shapes.py', 'workspace.py', 'C:\\Users\\Keren Meron\\Documents\\School Work\\Fetal MRI\\FetalSegBrainTool'], binaries=[], datas=

How to fix a pyinstaller 'no module named…' error when my script imports the modules pikepdf and pdfminer3?

半城伤御伤魂 提交于 2021-01-27 20:14:27
问题 I've built a working py script using PikePDF and PDFminer3 that will take a PDF off my desktop and create a txt file out of the words available. The purpose of this is to help my team at work amend legal documents that often cannot be copy-pasted for amendments (and must therefore be typed out by hand). As most of my colleagues are averse to setting up anaconda and using python, I wanted to use pyinstaller to turn my script into an .exe. When I run the application created by pyinstaller, I am

How do you run an .exe file on Docker?

岁酱吖の 提交于 2021-01-24 09:07:05
问题 I am currently trying to understand and learn Docker. I have an app, .exe file, and I would like to run it on either Linux or OSX by creating a Docker. I've searched online but I can't find anything allowing one to do that, and I don't know Docker well enough to try and improvise something. Is this possible? Would I have to use Boot2Docker? Could you please point me in the right direction? Thank you in advance any help is appreciated. 回答1: Docker allows you to isolate applications running on

OSX Associate a shell script with a file extension?

自古美人都是妖i 提交于 2021-01-22 03:53:25
问题 I want to associate the .exe file extension with a shell script that launches wine. What is the best way to do this? From what I've gathered, I need to create an AppleScript that will call wine, but how do I get the name of the input file in the AppleScript? If there is a better way to do this, let me know, but as far as I know this is the best way. 回答1: You can use an AppleScript application to do this - files are passed to the open handler, the same as a droplet, for example: on open

OSX Associate a shell script with a file extension?

回眸只為那壹抹淺笑 提交于 2021-01-22 03:52:13
问题 I want to associate the .exe file extension with a shell script that launches wine. What is the best way to do this? From what I've gathered, I need to create an AppleScript that will call wine, but how do I get the name of the input file in the AppleScript? If there is a better way to do this, let me know, but as far as I know this is the best way. 回答1: You can use an AppleScript application to do this - files are passed to the open handler, the same as a droplet, for example: on open