I am having trouble running an .exe file that i've created from python which uses numpy
. After running the .exe from the cmd a log file is created with the text: ImportError: No module named numpy
(even if it is installed on the computer).
I assume the solution is to import numpy to the setup file but don't know how and if additional files are need to be copied to the file directory. How can I run the exe in a computer without numpy?
I used py2exe and this setup file:
from distutils.core import setup
import py2exe, sys, os
sys.argv.append('py2exe')
setup(
options = {'py2exe': {'bundle_files': 1, 'compressed': True}},
windows = [{'script': "solver.py"}],
zipfile = None,
) Thanks!