Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python to exe

Name: pythonnoob 2011-06-23 14:57

Hello /prog/.

I have a python source which i need to compile into ONE exe file, with all dependencies in that file. I have tried py2exe, pyinstaller and bbfreeze. I can get them all to compile, but only pyinstaller to put it in a single file (probably my fault that the others wont).

And now to the problem.. :O
No matter which one of the compiling scripts i use the resulting exe won't run. I get this error: "ImportError: No module named pyopencl". I have pyopencl installed, but obviously these scripts arent adding it to the exe..

Any python gurus here who can help me out? I have no clue how to fix this.. I am no good with python.
I am running win7 64 bit and i have python 2.7 installed in both 32 and 64bit version

Name: Anonymous 2011-06-23 17:49

yo dawg, try to put all the modules in the same dir.
Good luck, pal

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List