Answer the question
In order to leave comments, you need to log in
Why is py2exe not working?
C:\Users\User\Projects\I>python setup.py py2exe
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1519, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from distutils.core import setup
File "C:\Users\User\Projects\I\distutils.py", line 1, in <module>
from distutils.core import setup
ImportError: No module named 'distutils.core'; distutils is not a package
from distutils.core import setup
import py2exe
setup(
windows=[{"script":"gui.py"}],
options={"py2exe": {"includes":["sip", "random", "json", "os", "multiprocessing.dummy", "requests", "tkinter"]}}
)
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/3810521/how-to-install...
?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question