I have designed a small application in Python under Windows, that uses opencv. I amm trying to create an executable so that anyone can install and use it, without having to install python/opencv/numpy . . .
I tried to use py2exe for this. It actually creates a .exe file, even though I have a warning during the build :
*** copy dlls ***
copying C:\Windows\system32\MSVFW32.dll ->
...
The following modules appear to be missing
['cv2.cv']
When I try to run the .exe file using the command line, I see the message :
ImportError: numpy.core.multiarray failed to import
My setup.py file is pretty simple :
# creating executable here
from distutils.core import setup
import py2exe, sys, os
sys.argv.append('py2exe')
setup(
options = {'py2exe': {'bundle_files': 1}},
console=['facemovie.py'],
zipfile = None,
)
Any idea how I can solve this? This is the very first time I want to deploy, and I may be missing something.
Thanks !