(venv) jasonyan@bogon pythonProject % pip3 Usage: pip3 [options] Commands: install Install packages. download Download packages. uninstall Uninstall packages. freeze Output installed packages in requirements format. list List installed packages. show Show information about installed packages. check Verify installed packages have compatible dependencies. config Manage local and global configuration. search Search PyPI for packages. cache Inspect and manage pip's wheel cache. wheel Build wheels from your requirements. hash Compute hashes of package archives. completion A helper command used for command completion. debug Show information useful for debugging. help Show help for commands. General Options: -h, --help Show help. --isolated Run pip in an isolated mode, ignoring environment variables and user configuration. -v, --verbose Give more output. Option is additive, and can be used up to 3 times. -V, --version Show version and exit. -q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels). --log Path to a verbose appending log. --no-input Disable prompting for input. --proxy Specify a proxy in the form [user:passwd@]proxy.server:port. --retries Maximum number of retries each connection should attempt (default 5 times). --timeout Set the socket timeout (default 15 seconds). --exists-action Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort. --trusted-host Mark this host or host:port pair as trusted, even though it does not have valid or any HTTPS. --cert Path to PEM-encoded CA certificate bundle. If provided, overrides the default. See 'SSL Certificate Verification' in pip documentation for more information. --client-cert Path to SSL client certificate, a single file containing the private key and the certificate in PEM format. --cache-dir Store the cache data in . --no-cache-dir Disable the cache. --disable-pip-version-check Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index. --no-color Suppress colored output. --no-python-version-warning Silence deprecation warnings for upcoming unsupported Pythons. --use-feature Enable new functionality, that may be backward incompatible. --use-deprecated Enable deprecated functionality, that will be removed in the future. (venv) jasonyan@bogon pythonProject % pip3 install pygame Collecting pygame Using cached pygame-2.0.1.tar.gz (5.5 MB) ERROR: Command errored out with exit status 1: command: /Users/jasonyan/PycharmProjects/pythonProject/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/setup.py'"'"'; __file__='"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-pip-egg-info-e0f_zpqx cwd: /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/ Complete output (27 lines): WARNING, No "Setup" File Exists, Running "buildconfig/config.py" Using Darwin configuration... /bin/sh: sdl2-config: command not found /bin/sh: sdl2-config: command not found /bin/sh: sdl2-config: command not found Traceback (most recent call last): File "", line 1, in File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/setup.py", line 318, in buildconfig.config.main(AUTO_CONFIG) File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/buildconfig/config.py", line 221, in main deps = CFG.main(**kwds) File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/buildconfig/config_darwin.py", line 131, in main [DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])], File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_df776152bd1f402582a9017742f09799/buildconfig/config_unix.py", line 39, in __init__ self.ver = config[0].strip() IndexError: list index out of range --- For help with compilation see: https://www.pygame.org/wiki/MacCompile To contribute to pygame development see: https://www.pygame.org/contribute.html --- ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/c7/b8/06e02c7cca7aec915839927a9aa19f749ac17a3d2bb2610b945d2de0aa96/pygame-2.0.1.tar.gz#sha256=8b1e7b63f47aafcdd8849933b206778747ef1802bd3d526aca45ed77141e4001 (from https://pypi.org/simple/pygame/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pygame-2.0.0.tar.gz (5.5 MB) |â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â | 5.5 MB 34 kB/s ERROR: Command errored out with exit status 1: command: /Users/jasonyan/PycharmProjects/pythonProject/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/setup.py'"'"'; __file__='"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-pip-egg-info-kzg_6s_l cwd: /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/ Complete output (27 lines): WARNING, No "Setup" File Exists, Running "buildconfig/config.py" Using Darwin configuration... /bin/sh: sdl2-config: command not found /bin/sh: sdl2-config: command not found /bin/sh: sdl2-config: command not found Traceback (most recent call last): File "", line 1, in File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/setup.py", line 318, in buildconfig.config.main(AUTO_CONFIG) File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/buildconfig/config.py", line 221, in main deps = CFG.main(**kwds) File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/buildconfig/config_darwin.py", line 131, in main [DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])], File "/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_19c237d8f91a435c9bb205dc4d506682/buildconfig/config_unix.py", line 39, in __init__ self.ver = config[0].strip() IndexError: list index out of range --- For help with compilation see: https://www.pygame.org/wiki/MacCompile To contribute to pygame development see: https://www.pygame.org/contribute.html --- ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/bc/0c/d164411381bada8feae57359aa9296defbed3035f4b55bef6a271cb0573c/pygame-2.0.0.tar.gz#sha256=63b038da116a643046181b02173fd894d87d2f85ecfd6aa7d5ece73c6ef501e9 (from https://pypi.org/simple/pygame/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pygame-1.9.6.tar.gz (3.2 MB) |â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â | 3.2 MB 26 kB/s Using legacy 'setup.py install' for pygame, since package 'wheel' is not installed. Installing collected packages: pygame Running setup.py install for pygame ... error ERROR: Command errored out with exit status 1: command: /Users/jasonyan/PycharmProjects/pythonProject/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_d5bd5d16fba9468392bed9577549e10f/setup.py'"'"'; __file__='"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_d5bd5d16fba9468392bed9577549e10f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-record-0z6oos8_/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jasonyan/PycharmProjects/pythonProject/venv/include/site/python3.9/pygame cwd: /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_d5bd5d16fba9468392bed9577549e10f/ Complete output (217 lines): running install running build running build_py creating build creating build/lib.macosx-10.9-universal2-3.9 creating build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/surfarray.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/sysfont.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/_camera_vidcapture.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/sndarray.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/version.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/compat.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/draw_py.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/colordict.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/ftfont.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/midi.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/cursors.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/_numpysndarray.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/sprite.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/macosx.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/_numpysurfarray.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/camera.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/freetype.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/_camera_opencv_highgui.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/pkgdata.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/locals.py -> build/lib.macosx-10.9-universal2-3.9/pygame copying src_py/_dummybackend.py -> build/lib.macosx-10.9-universal2-3.9/pygame creating build/lib.macosx-10.9-universal2-3.9/pygame/threads copying src_py/threads/Py25Queue.py -> build/lib.macosx-10.9-universal2-3.9/pygame/threads copying src_py/threads/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/threads creating build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/base_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/font_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/mixer_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/rwobject_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/pixelcopy_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/overlay_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/scrap_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/touch_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/imageext_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/pixelarray_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/draw_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/transform_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/blit_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/bufferproxy_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/surfarray_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/mouse_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/surfarray_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/event_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/imageext_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/sprite_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/touch_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/gfxdraw_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/rect_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/scrap_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/overlay_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/color_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/camera_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/surflock_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/key_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/sysfont_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/font_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/mixer_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/constants_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/mixer_music_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/sndarray_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/image_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/version_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/freetype_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/joystick_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/midi_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/ftfont_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/image__save_gl_surface_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/cdrom_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/cursors_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/fastevent_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/display_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/fastevent_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/compat_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/ftfont_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/cdrom_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/mask_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/midi_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/freetype_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/math_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/time_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/image_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/threads_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/__main__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/mixer_music_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/sndarray_tags.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/test_test_.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests copying test/surface_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/run_tests.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/endian.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/test_machinery.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/png.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/test_runner.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/arrinter.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/buftools.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils copying test/test_utils/async_sub.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/test_utils creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests copying test/run_tests__tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/no_assertions__ret_code_of_1__test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/all_ok creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/failures1 creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/infinite_loop copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/infinite_loop copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/infinite_loop copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/infinite_loop creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stderr creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/print_stdout creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete_todo copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete_todo copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete_todo copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/incomplete_todo creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/exclude creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/timeout copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/timeout copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/timeout copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/timeout creating build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/tests/run_tests__tests/everything creating build/lib.macosx-10.9-universal2-3.9/pygame/docs copying docs/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/docs copying docs/__main__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/docs creating build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/playmus.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/mask.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/sound.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/overlay.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/aacircle.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/chimp.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/liquid.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/audiocapture.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/sound_array_demos.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/midi.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/scroll.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/cursors.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/moveit.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/blit_blends.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/testsprite.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/textinput.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/vgrade.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/arraydemo.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/stars.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/camera.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/blend_fill.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/fonty.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/headless_no_windows_needed.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/fastevents.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/prevent_display_stretching.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/glcube.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/aliens.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/freetype_misc.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/scaletest.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/video.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/eventlist.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/scrap_clipboard.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/oldalien.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/pixelarray.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples copying examples/dropevent.py -> build/lib.macosx-10.9-universal2-3.9/pygame/examples running build_ext building 'pygame.gfxdraw' extension creating build/temp.macosx-10.9-universal2-3.9 creating build/temp.macosx-10.9-universal2-3.9/src_c creating build/temp.macosx-10.9-universal2-3.9/src_c/SDL_gfx gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DENABLE_NEWBUF=1 -I/NEED_INC_PATH_FIX -I/Users/jasonyan/PycharmProjects/pythonProject/venv/include -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src_c/SDL_gfx/SDL_gfxPrimitives.c -o build/temp.macosx-10.9-universal2-3.9/src_c/SDL_gfx/SDL_gfxPrimitives.o In file included from src_c/SDL_gfx/SDL_gfxPrimitives.c:14: src_c/SDL_gfx/SDL_gfxPrimitives.h:17:10: fatal error: 'SDL.h' file not found #include "SDL.h" ^~~~~~~ 1 error generated. --- For help with compilation see: https://www.pygame.org/wiki/MacCompile To contribute to pygame development see: https://www.pygame.org/contribute.html --- error: command '/usr/bin/gcc' failed with exit code 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Users/jasonyan/PycharmProjects/pythonProject/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_d5bd5d16fba9468392bed9577549e10f/setup.py'"'"'; __file__='"'"'/private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-install-3zj1lv19/pygame_d5bd5d16fba9468392bed9577549e10f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/63/vg9_84_n5jb3cztlc4y6qwkm0000gn/T/pip-record-0z6oos8_/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jasonyan/PycharmProjects/pythonProject/venv/include/site/python3.9/pygame Check the logs for full command output.