How can I make Windows executable using Pyserial?
I am trying to make a Stackless Python 2.6 program executable. Setup file
from distutils.core import setup
import py2exe
setup(console=['controller.py'])
and i run it with
python setup.py py2exe
However, when I try to run it, it raises an ImportError and says there is no module named serial. When I try:
python setup.py py2exe --includes serial
or
python setup.py py2exe --includes pyserial
build fails with ImportError. Do you have any ideas?
+3
source to share