1

I downloaded py2exe for python 2.6. I include this bit of code:

from distutils.core import setup
import py2exe

setup(console=['move2.py'])

'move2.py' being my first script. This code is from my second script as said in the video. I opened cmd and typed 'movesetup.py py2exe' and pressed enter. Instead it came up with a error message:

Traceback (most recent call last):
  File "C:\Users\User\Desktop\move.py", line 1, in (module)
    from distutlis.core import setup
ImportError: No module named distutlis.core

I downloaded py2exe right and I downloaded the right one for Python 2.6. Here is the website that I found how to change .py to .exe. Is he right? I also tried cx_freeze too but that didn't work either. https://www.youtube.com/watch?v=HR483VkOvkE

1 Answer 1

2

You have a typo: distutlis

Change to distutils, and read the error next time. ;)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.