Closed GalacticEmperor1 closed 1 year ago
Yeah, sorry, a little new to how all this Python/wheel stuff works. That seems to be the case indeed, the wheel was built automatically previously and I did not notice. Now tried installation with
--no-cache-dir
and it builds it "successfully". If there's anything I can do to troubleshoot with my M1 Mac, I'd be happy to help.user@macbookair ~ % pip3 install pygame --no-cache-dir Collecting pygame Downloading pygame-2.0.1.tar.gz (5.5 MB) |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 5.5 MB 4.2 MB/s Building wheels for collected packages: pygame Building wheel for pygame (setup.py) ... done Created wheel for pygame: filename=pygame-2.0.1-cp39-cp39-macosx_11_0_arm64.whl size=2540300 sha256=2e03e79797b4e1ff1c057e8480025843f16ade03afd214c50799adc50c701eaa Stored in directory: /private/var/folders/4p/x25zqqtd5mb8c3g2r1cq1w600000gn/T/pip-ephem-wheel-cache-nqq39vfp/wheels/24/92/8c/c50d0a63cd21148dc95b7ca7f0ad2bf9e573a8eb93ebc273f8 Successfully built pygame Installing collected packages: pygame Successfully installed pygame-2.0.1
I get a gcc
error when I run pip3 install pygame
. Any ideas why?
โฏ pip3 install pygame --no-cache-dir
Collecting pygame
Downloading pygame-2.0.1.tar.gz (5.5 MB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 5.5 MB 9.9 MB/s
Building wheels for collected packages: pygame
Building wheel for pygame (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/ryanrudes/miniforge3/envs/ml/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/setup.py'"'"'; __file__='"'"'/private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-wheel-ec5eh461
cwd: /private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/
Complete output (286 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.0-arm64-3.8
creating build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/surfarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/sysfont.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_camera_vidcapture.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/sndarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/version.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/compat.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/draw_py.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/colordict.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/ftfont.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/midi.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/cursors.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_numpysndarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/sprite.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/macosx.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_numpysurfarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/camera.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/freetype.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_camera_opencv_highgui.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/pkgdata.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/locals.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_dummybackend.py -> build/lib.macosx-11.0-arm64-3.8/pygame
creating build/lib.macosx-11.0-arm64-3.8/pygame/threads
copying src_py/threads/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/threads
creating build/lib.macosx-11.0-arm64-3.8/pygame/_sdl2
copying src_py/_sdl2/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/_sdl2
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/base_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/font_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/rwobject_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/pixelcopy_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/overlay_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/video_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/scrap_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/touch_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/imageext_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/pixelarray_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/draw_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/transform_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/blit_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/bufferproxy_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surfarray_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mouse_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surfarray_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/event_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/imageext_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sprite_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/touch_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/gfxdraw_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/rect_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/scrap_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/overlay_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/color_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/camera_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surflock_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/key_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sysfont_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/font_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/constants_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_music_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sndarray_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/image_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/version_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/freetype_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/joystick_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/ftfont_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/image__save_gl_surface_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/cdrom_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/cursors_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/fastevent_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/display_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/fastevent_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/compat_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/ftfont_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/cdrom_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mask_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/midi_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/freetype_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/math_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/time_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/image_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/threads_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/__main__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_music_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sndarray_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/test_test_.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surface_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/run_tests.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/endian.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/test_machinery.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/png.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/test_runner.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/arrinter.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/buftools.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/async_sub.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests
copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests
copying test/run_tests__tests/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-11.0-arm64-3.8/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-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
creating build/lib.macosx-11.0-arm64-3.8/pygame/docs
copying docs/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/docs
copying docs/__main__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/docs
creating build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/playmus.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/mask.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/sound.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/overlay.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/aacircle.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/setmodescale.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/chimp.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/font_viewer.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/liquid.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/audiocapture.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/sound_array_demos.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/midi.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/scroll.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/cursors.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/moveit.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/blit_blends.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/sprite_texture.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/testsprite.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/textinput.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/vgrade.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/arraydemo.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/stars.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/camera.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/blend_fill.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/fonty.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/headless_no_windows_needed.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/fastevents.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/prevent_display_stretching.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/glcube.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/resizing_new.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/aliens.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/freetype_misc.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/scaletest.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/music_drop_fade.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/video.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/eventlist.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/scrap_clipboard.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/pixelarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/dropevent.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
creating build/lib.macosx-11.0-arm64-3.8/pygame/__pyinstaller
copying src_py/__pyinstaller/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/__pyinstaller
copying src_py/__pyinstaller/hook-pygame.py -> build/lib.macosx-11.0-arm64-3.8/pygame/__pyinstaller
running build_ext
building 'pygame.imageext' extension
creating build/temp.macosx-11.0-arm64-3.8
creating build/temp.macosx-11.0-arm64-3.8/src_c
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/ryanrudes/miniforge3/envs/ml/include -arch arm64 -I/Users/ryanrudes/miniforge3/envs/ml/include -arch arm64 -I/usr/local/opt/openblas/include -Ddarwin -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include/SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -I/usr/local/include -I/Users/ryanrudes/miniforge3/envs/ml/include/python3.8 -c src_c/imageext.c -o build/temp.macosx-11.0-arm64-3.8/src_c/imageext.o
In file included from src_c/imageext.c:29:
In file included from src_c/pygame.h:30:
In file included from src_c/_pygame.h:36:
In file included from /usr/local/include/SDL2/SDL.h:38:
In file included from /usr/local/include/SDL2/SDL_cpuinfo.h:86:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/immintrin.h:14:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:129:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:159:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:189:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:216:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:239:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:260:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:287:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:310:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:331:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:352:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:373:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:394:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:416:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:439:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:461:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:483:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:504:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_psubb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:525:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_psubw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors 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 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pygame
Running setup.py clean for pygame
Failed to build pygame
Installing collected packages: pygame
Running setup.py install for pygame ... error
ERROR: Command errored out with exit status 1:
command: /Users/ryanrudes/miniforge3/envs/ml/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/setup.py'"'"'; __file__='"'"'/private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-record-vkpmek3f/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ryanrudes/miniforge3/envs/ml/include/python3.8/pygame
cwd: /private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/
Complete output (286 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-11.0-arm64-3.8
creating build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/surfarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/sysfont.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_camera_vidcapture.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/sndarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/version.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/compat.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/draw_py.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/colordict.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/ftfont.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/midi.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/cursors.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_numpysndarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/sprite.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/macosx.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_numpysurfarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/camera.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/freetype.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_camera_opencv_highgui.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/pkgdata.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/locals.py -> build/lib.macosx-11.0-arm64-3.8/pygame
copying src_py/_dummybackend.py -> build/lib.macosx-11.0-arm64-3.8/pygame
creating build/lib.macosx-11.0-arm64-3.8/pygame/threads
copying src_py/threads/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/threads
creating build/lib.macosx-11.0-arm64-3.8/pygame/_sdl2
copying src_py/_sdl2/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/_sdl2
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/base_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/font_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/rwobject_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/pixelcopy_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/overlay_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/video_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/scrap_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/touch_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/imageext_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/pixelarray_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/draw_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/transform_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/blit_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/bufferproxy_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surfarray_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mouse_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surfarray_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/event_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/imageext_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sprite_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/touch_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/gfxdraw_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/rect_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/scrap_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/overlay_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/color_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/camera_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surflock_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/key_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sysfont_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/font_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/constants_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_music_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sndarray_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/image_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/version_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/freetype_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/joystick_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/ftfont_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/image__save_gl_surface_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/cdrom_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/cursors_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/fastevent_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/display_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/fastevent_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/compat_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/ftfont_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/cdrom_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mask_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/midi_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/freetype_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/math_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/time_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/image_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/threads_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/__main__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/mixer_music_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/sndarray_tags.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/test_test_.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
copying test/surface_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/run_tests.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/endian.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/test_machinery.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/png.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/test_runner.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/arrinter.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/buftools.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
copying test/test_utils/async_sub.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/test_utils
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests
copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests
copying test/run_tests__tests/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-11.0-arm64-3.8/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-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/all_ok
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/failures1
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/infinite_loop
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stderr
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/print_stdout
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/incomplete_todo
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/exclude
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/timeout
creating build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/tests/run_tests__tests/everything
creating build/lib.macosx-11.0-arm64-3.8/pygame/docs
copying docs/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/docs
copying docs/__main__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/docs
creating build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/playmus.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/mask.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/sound.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/overlay.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/aacircle.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/setmodescale.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/chimp.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/font_viewer.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/liquid.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/audiocapture.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/sound_array_demos.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/midi.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/scroll.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/cursors.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/moveit.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/blit_blends.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/sprite_texture.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/testsprite.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/textinput.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/vgrade.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/arraydemo.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/stars.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/camera.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/blend_fill.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/fonty.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/headless_no_windows_needed.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/fastevents.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/prevent_display_stretching.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/glcube.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/resizing_new.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/aliens.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/freetype_misc.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/scaletest.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/music_drop_fade.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/video.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/eventlist.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/scrap_clipboard.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/pixelarray.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
copying examples/dropevent.py -> build/lib.macosx-11.0-arm64-3.8/pygame/examples
creating build/lib.macosx-11.0-arm64-3.8/pygame/__pyinstaller
copying src_py/__pyinstaller/__init__.py -> build/lib.macosx-11.0-arm64-3.8/pygame/__pyinstaller
copying src_py/__pyinstaller/hook-pygame.py -> build/lib.macosx-11.0-arm64-3.8/pygame/__pyinstaller
running build_ext
building 'pygame.imageext' extension
creating build/temp.macosx-11.0-arm64-3.8
creating build/temp.macosx-11.0-arm64-3.8/src_c
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/ryanrudes/miniforge3/envs/ml/include -arch arm64 -I/Users/ryanrudes/miniforge3/envs/ml/include -arch arm64 -I/usr/local/opt/openblas/include -Ddarwin -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include/SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -I/usr/local/include -I/Users/ryanrudes/miniforge3/envs/ml/include/python3.8 -c src_c/imageext.c -o build/temp.macosx-11.0-arm64-3.8/src_c/imageext.o
In file included from src_c/imageext.c:29:
In file included from src_c/pygame.h:30:
In file included from src_c/_pygame.h:36:
In file included from /usr/local/include/SDL2/SDL.h:38:
In file included from /usr/local/include/SDL2/SDL_cpuinfo.h:86:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/immintrin.h:14:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:129:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:159:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:189:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:216:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:239:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:260:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:287:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:310:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:331:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:352:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:373:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:394:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:416:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:439:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:461:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:483:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:504:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_psubb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:525:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_psubw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors 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 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/ryanrudes/miniforge3/envs/ml/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/setup.py'"'"'; __file__='"'"'/private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-install-cpu5kw6x/pygame_acdc92ba428b4694b51641a629795ca5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/v8/xbqyyrhx7mxd_dcm9x9jf8tc0000gn/T/pip-record-vkpmek3f/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ryanrudes/miniforge3/envs/ml/include/python3.8/pygame Check the logs for full command output.
Yeah, sorry, a little new to how all this Python/wheel stuff works. That seems to be the case indeed, the wheel was built automatically previously and I did not notice. Now tried installation with
--no-cache-dir
and it builds it "successfully". If there's anything I can do to troubleshoot with my M1 Mac, I'd be happy to help.user@macbookair ~ % pip3 install pygame --no-cache-dir Collecting pygame Downloading pygame-2.0.1.tar.gz (5.5 MB) |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 5.5 MB 4.2 MB/s Building wheels for collected packages: pygame Building wheel for pygame (setup.py) ... done Created wheel for pygame: filename=pygame-2.0.1-cp39-cp39-macosx_11_0_arm64.whl size=2540300 sha256=2e03e79797b4e1ff1c057e8480025843f16ade03afd214c50799adc50c701eaa Stored in directory: /private/var/folders/4p/x25zqqtd5mb8c3g2r1cq1w600000gn/T/pip-ephem-wheel-cache-nqq39vfp/wheels/24/92/8c/c50d0a63cd21148dc95b7ca7f0ad2bf9e573a8eb93ebc273f8 Successfully built pygame Installing collected packages: pygame Successfully installed pygame-2.0.1
I have tried to pip install with --no-cache-dir
but I am getting the same error with the fonts, so it does not solve the issue on my M1 MBPro. @hiatsu0 did this really solve the font issue for you?
Btw I am getting this on python3.8
I have tried to pip install with
--no-cache-dir
but I am getting the same error with the fonts, so it does not solve the issue on my M1 MBPro. @hiatsu0 did this really solve the font issue for you?
The issue is, as the person above my previous comment stated, that there is no
arm64 wheel
for Pygame and it will not compile (even if it says โSuccessfullyโ) before a developer shows up to fix the issues. So thereโs no luck for M1 users at the moment, other than running Pygame under Rosetta2.
Maybe try this:
python3 -m pip install pygame==2.0.0.dev6
This downgrade version of pygame happens to work fine, while pygame 2.0.1 would give the NotImplementedError.
I am using Python 3.9.4 on a M1 Macbook Air for your information.
I am also on Python 3.9.2 on an M1 Macbook Air and installed via pip install pygame==2.0.0.dev6 --no-cache-dir
and was able to run Pygame, nothing else upthread worked.
I'm using an M1 pro and used pip install pygame==2.0.0.dev6 --no-cache-dir
and this worked for me!
Would it be possible to backport the old Rosetta-emulated binary to the latest version? Using the development version is not a good solution at all, as it is lacking in many aspects (buggy anti-aliasing behaviour, unstable version, no type hints etc.)
same as everyone (a few month later), using dev6 solved my problem
same as everyone (a few month later), using dev6 solved my problem
Yeah, seems like everyone's just going along with dev6 for now
Note to self to try pygame on Python 3.10 @seanjensengrey
I'm using an M1 pro and used
pip install pygame==2.0.0.dev6 --no-cache-dir
and this worked for me!
This fixed it for me. Thanks for solving my problem.
(Please note: I'm currently using Python 3.9.7
)
What is the trouble with pygame 2.1?
It has arm64 mac wheels and everything!
And it's not a more than 1+ year old early pygame 2 development version!
Issue №2150 opened by DevHedronYT at 2020-10-06 18:51:35
Now I just installed Python 3.9.0 and it says:
"NotImplementedError: font module not available (ImportError: cannot import name 'Font' from partially initialized module 'pygame.font' (most likely due to a circular import) (/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pygame/font.py))"
With Python 3.8.5 it worked like butter, and I am using pygame==2.0.0.dev12
Comments
*MyreMylar commented at 2020-10-06 18:59:00*
Yes, Python 3.9 just released earlier today and pygame has not yet had a binary release addressing any issues that may have arisen.
This error looks like pygame maybe did not compile all the modules during a build from source? Have you built pygame from source before?
*MyreMylar commented at 2020-10-06 18:59:37*
See also issue # 2145
*DevHedronYT commented at 2020-10-06 19:01:03*
no i just installed it with pip, it did not give me any errors but then when I tried running the program it would not run
*DevHedronYT commented at 2020-10-06 19:02:39*
i just hope it gets fixed, for now Im just going to use Python 3.8.5 for my projects so no problemo
*MyreMylar commented at 2020-10-06 19:05:48*
I would try following the instructions on the bottom of this page:
https://www.pygame.org/wiki/CompileUbuntu
In the section pygame with sdl2 (alpha). And seeing if you have any better luck. Or continue using Python 3.8 until most open source libraries have updated to 3.9.
*illume commented at 2020-10-11 21:08:04*
3.9 compatibility added in the PR https://github.com/pygame/pygame/pull/2163 Binary wheels will come out for the next release soon (2.0.0.dev14).
*hiatsu0 commented at 2021-02-06 17:40:22*
Perhaps related to this, I'm getting similar error on M1 Mac, if trying to run apps relying on pygame or running command
python3 -c 'import pygame; pygame.font.init()'
. I suppose the _macosx_11_0arm64 Wheel is not fully compatible with M1 even though it seems to install without any warnings?*MyreMylar commented at 2021-02-07 08:53:16*
There is no such wheel on PyPI:
https://pypi.org/project/pygame/# files
Is suspect you must have built it yourself.
There has been some confusion with the new Arm macs because Apple initially claimed they were fully backwards compatible - this has turned out not to be the case for python and means there needs to be upgrades to various open source build platforms to support the new macs. This has been some sort of issue for every python library that uses binary wheels from what I've seen.
There have been a bunch of other issues relating to M1 macs on the issue tracker, I've tagged a few of them here:
https://github.com/pygame/pygame/issues?q=is%3Aopen+is%3Aissue+label%3A%22M1+Mac%22
I suspect it will continue to be an issue for some time unless a developer with an M1 Mac decides to start contributing to pygame.
*hiatsu0 commented at 2021-02-07 09:24:42*
Yeah, sorry, a little new to how all this Python/wheel stuff works. That seems to be the case indeed, the wheel was built automatically previously and I did not notice. Now tried installation with
--no-cache-dir
and it builds it "successfully". If there's anything I can do to troubleshoot with my M1 Mac, I'd be happy to help.