report errors:
ERROR: Command errored out with exit status 255: hg clone –noupdate -q https://bitbucket.org/pygame/pygame /private/var/folders/jt/s0hr2mwx2f91p9xjm0r09vqr0000gn/T/pip-req-build-17brj_ kp Check the logs for full command output.
context:
Learn Python Programming: from introduction to practice. When you start the example practice in Chapter 12, you need to install the pyGame environment. You always report errors according to the methods in the book and cannot install normally.
terms of settlement:
Do not use the method in the book:
PIP3 install — user Hg+ https://bitbucket.org/pygame/pygame
Direct use
pip3 install pygame
I’m really good at installing it successfully