John Doe John Doe - 10 months ago 71
Python Question

Pygame for Python 3 - " build" command error

I am following these directions:

The instructions give the steps in installing Pygame for Python 3 on Ubuntu.

I am having no problems with it until i reach the

python3 build
step. This is what the command outputs:

Traceback (most recent call last):
File "", line 109, in <module>
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'

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

Is there anything special that is needed to be done? Thanks!

EDIT: Followed @docmarvin 's directions and installed the module setuptools. Still the same error

cxw cxw
sudo apt install python3-setuptools
                       ^ separate from Python 2 setuptools.

Per this answer.