Pygame for Python 3 - "Setup.py build" command error
<p>I am following these directions: <a href="http://www.pygame.org/wiki/CompileUbuntu?parent=Compilation" rel="nofollow">http://www.pygame.org/wiki/CompileUbuntu?parent=Compilation</a></p>

<p>The instructions give the steps in installing Pygame for Python 3 on Ubuntu. </p>

<p>I am having no problems with it until i reach the <code>python3 setup.py build</code> step. This is what the command outputs: </p>

<pre><code>Traceback (most recent call last):
  File "setup.py", line 109, in &lt;module&gt;
    from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
</code></pre>

<p>If i simply run <code>import pygame</code> in both Python 2 and Python 3, it reports that there is no module called pygame. </p>

<p>Is there anything special that is needed to be done? Thanks!</p>

<p><strong>EDIT:</strong> Followed @docmarvin 's directions and installed the module setuptools. Still the same error</p>

<p>Try to install setuptools, e.g. with pip from the command line:
<code>pip install setuptools</code></p>

python python-3.x pygame