Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python setuptools import error (Using NetBeans)

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.

like image 245
zaplec Avatar asked Feb 06 '10 00:02

zaplec


1 Answers

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

like image 51
Ned Deily Avatar answered Oct 14 '22 14:10

Ned Deily