views:

1382

answers:

1

Hi,

I tried to find a question that would answer to this question but wasn't succesful, so I made a new question.

I'm trying to compile my old Python Tic Tac Toe game in NetBeans, but I get the error message

ImportError: No module named setuptools

In my actual code I haven't imported a module named setuptools. As much as I understand the compiler generates a setup.py file and tries to use that setuptools module in there. How can I fix that problem?

I'm pretty sure that the problem isn't in the code as that same code worked perfectly the time when I actually made it and I haven't changed it after that.

+3  A: 

You need to install either setuptools or Distribute in your Python instance. Follow the directions at either web page.

Ned Deily
Thanks. Installing the setuptools fixed the problem. I tried to find that setuptools before asking, but couldn't find it that time (probably misspelled it).
zaplec