install pygame from source

  1. cd pygame_source_files_path

  2. run the following command line:

python3 setup.py build
  1. run the following command line:
sudo checkinstall python3 setup.py install
  1. check install result in command:
install pygame from source_第1张图片
check install result in command

你可能感兴趣的:(install pygame from source)