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
Just because we don't feel like giving a serious answer to your question that could have been solved in a few minutes using Google doesn't make this board shit. In fact in my view it makes this board better.
>>8 Selected /prog/ user reviews
/prog/ is pure shit. A festival of diarrhea.
- Jason, 28
Its the worst board ive ever been too.
- Molly, 24
Terrible doesnt even come close describing it. I will have trouble sleeping after this.
- Andreas 35
Why would anyone in the right mind even go there? But more important, why has nobody deleted it yet.
- Micheal 27
A waste of time, bandwidth and braincells.
- Laura 31
Name:
Anonymous2011-06-24 6:54
[code]This board is my favorite[i]![/i]
- Milkribs, anus
Name:
Anonymous2011-06-24 6:58
>>10
I'd have sex with Laura, if you know what I mean.
>>1
It should take you about five minutes to learn how to specify explicit dependencies for py2exe, now that I told you that you should specify pyopencl as an explicit dependency.
Don't hate all women. You will get no where fast with that ideal man. You can stand against feminism. That's what has happend. Many women end up being consfused and abandon feminsim. I agree with you though. It's said Japan is controled by their women after the bomb. Turning men into manlets because women are so demanding in Japan that men have to appeal to them ao they become them: Girly men.