exe

ImportError: No module named 'tkinter' after pyInstaller

百般思念 提交于 2019-12-01 10:50:50
I want to do an executable, but ervery time I run the .exe it writes ImportError: No module named 'tkinter' , and all I read on Stackowerflow do not help me ! My python program is simple (ODE solver) and requests only : from math import* from pylab import* import numpy as np import matplotlib import numpy as np import matplotlib.pyplot as plt I paste a copy of my prog.py into the C:\Python\Scripts folder where pyInstaller is. I compute the command line pyinstaller -F eulersolver.py , this creates a prog.exe in the dist folder. When I run this code I have ImportError: No module named 'tkinter'

how to make exe file work on one computer only

╄→尐↘猪︶ㄣ 提交于 2019-12-01 10:42:23
I wrote a program using C# and make exe file using advanced installer and it work good but i want to make this exe file work in one computer, because some clints take exe and give this exe to another and i want to privint that and protect my works Grant Shannon run the code below on the machine that you want your .exe. file to work on (it will give you this machines MAC address). 2. Add this MAC address to the code below 3. Add the code below to your C# code to ensure that it only runs on the machine with the correct MAC address (unique) using System; using System.Collections.Generic; using

Python Pmw and cx_Freeze?

旧街凉风 提交于 2019-12-01 10:40:37
I am unable to make an executable from my python program which uses Pmw (Python mega widgets). I use cx_Freeze (through gui backend "Gui2Exe"). Searching Pmw site I've found that it's caused by how the Pmw library checks for modules when ran and it doesn't work when you use py2exe or similar programs because the libraries are in a zip file. More info can be found here: http://pmw.sourceforge.net/doc/dynamicloader.html So they give a solution in that page, under "Freezing Pmw", by providing a script which generates a single standalone Pmw module which you can easily freeze. However, that script

ImportError: No module named 'tkinter' after pyInstaller

最后都变了- 提交于 2019-12-01 10:23:32
问题 I want to do an executable, but ervery time I run the .exe it writes ImportError: No module named 'tkinter' , and all I read on Stackowerflow do not help me ! My python program is simple (ODE solver) and requests only : from math import* from pylab import* import numpy as np import matplotlib import numpy as np import matplotlib.pyplot as plt I paste a copy of my prog.py into the C:\Python\Scripts folder where pyInstaller is. I compute the command line pyinstaller -F eulersolver.py , this

Jar to exe with an external library

China☆狼群 提交于 2019-12-01 09:56:26
I've been trying to convert a jar to exe. The program - the jar - uses a bluetooth library 'Bluecove' which is another jar in some directory. The program also uses Java Swing, typically JFrame and stuff. The program works perfectly when run from within Netbeans or Eclipse. It's time for me to deploy it, hence I need to convert it to exe. But I've been unable get the final executable to link with 'Bluecove'. I tried JSmooth and Launch4j , but with both, though I could complete the process and create the 'exe', the final program isn't running, because it can't find the Bluecove classes. Any

DLL include in exe.file?

纵饮孤独 提交于 2019-12-01 09:18:31
问题 I build a project in C#. From another project I have 5 DLLs. Is It possible to include the DLL in the exe, that I only give 1 File to people and not x files? I tried ILMerge, but the output file ever opened a Command prompt with the application - useless. 回答1: You can merge the exe and the dlls with the ILMerge.exe tool lmerge.exe /out:C:\SomePath\TheOnlyOneExe.exe C:\....\bin\Debug\someexe.exe C:\....\bin\Debug\somedll.dll /t:exe 回答2: Take a look at ILMerage You can download it from here 回答3

Jar to exe with an external library

╄→尐↘猪︶ㄣ 提交于 2019-12-01 08:51:58
问题 I've been trying to convert a jar to exe. The program - the jar - uses a bluetooth library 'Bluecove' which is another jar in some directory. The program also uses Java Swing, typically JFrame and stuff. The program works perfectly when run from within Netbeans or Eclipse. It's time for me to deploy it, hence I need to convert it to exe. But I've been unable get the final executable to link with 'Bluecove'. I tried JSmooth and Launch4j , but with both, though I could complete the process and

Python Pmw and cx_Freeze?

不羁的心 提交于 2019-12-01 08:42:39
问题 I am unable to make an executable from my python program which uses Pmw (Python mega widgets). I use cx_Freeze (through gui backend "Gui2Exe"). Searching Pmw site I've found that it's caused by how the Pmw library checks for modules when ran and it doesn't work when you use py2exe or similar programs because the libraries are in a zip file. More info can be found here: http://pmw.sourceforge.net/doc/dynamicloader.html So they give a solution in that page, under "Freezing Pmw", by providing a

convert war file to exe file [closed]

家住魔仙堡 提交于 2019-12-01 07:54:35
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I have a file in .war format. Is it possible to convert it to an .exe or .jar file? 回答1: First of all why you need to do such thing? As stated on wiki : A war file is a JAR file used to distribute a collection of

creating executable for jython scripts

寵の児 提交于 2019-12-01 07:40:38
for python scripts i was using py2exe to create executable file. Is there any way to create either .exe or .jar file for jython script? Sharing how I achieve this. Thanks to EnigmaCurry for providing the framework. Jar Method from Jython wiki works quite well. The one drawback that it has is that all of the Java dependancies need to be exploded into the main jar root. This gets messy very quickly. So the approach uses One-Jar . It is a special class loader which can load a jar from contained in the jar file. So you can have your script/class, jython and other libraries all getting packaged as