try install package 'pip3 install simple-draw'
Got error:
python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-_9b5v6pi/pygame_cde65a92d6294bebb7370b14bc756e33/setup.py", line 318, in <module>
buildconfig.config.main(AUTO_CONFIG)
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-_9b5v6pi/pygame_cde65a92d6294bebb7370b14bc756e33/buildconfig/config.py", line 221, in main
deps = CFG.main(**kwds)
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-_9b5v6pi/pygame_cde65a92d6294bebb7370b14bc756e33/buildconfig/config_darwin.py", line 131, in main
[DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])],
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-_9b5v6pi/pygame_cde65a92d6294bebb7370b14bc756e33/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
---
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
vitalikye@Vitaliks-MacBook-Pro ~ % pip3 install simple-draw
Collecting simple-draw
Using cached simple_draw-2.7.0.tar.gz (7.5 kB)
Preparing metadata (setup.py) ... done
Collecting pygame==2.0.0
Using cached pygame-2.0.0.tar.gz (5.5 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-tg711lga/pygame_fda9e02f9f7e49f9b77969dde8f95702/setup.py", line 318, in <module>
buildconfig.config.main(AUTO_CONFIG)
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-tg711lga/pygame_fda9e02f9f7e49f9b77969dde8f95702/buildconfig/config.py", line 221, in main
deps = CFG.main(**kwds)
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-tg711lga/pygame_fda9e02f9f7e49f9b77969dde8f95702/buildconfig/config_darwin.py", line 131, in main
[DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])],
File "/private/var/folders/6h/chqgvbqj0qj7j_ct_jdxl92h0000gn/T/pip-install-tg711lga/pygame_fda9e02f9f7e49f9b77969dde8f95702/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
---
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
vitalikye@Vitaliks-MacBook-Pro ~ % pip3 install pygame
Collecting pygame
Using cached pygame-2.1.2-cp310-cp310-macosx_11_0_arm64.whl (8.4 MB)
Installing collected packages: pygame
Successfully installed pygame-2.1.2
try install package 'pip3 install simple-draw'
Got error:
python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
vitalikye@Vitaliks-MacBook-Pro ~ % pip3 install simple-draw
Collecting simple-draw
Using cached simple_draw-2.7.0.tar.gz (7.5 kB)
Preparing metadata (setup.py) ... done
Collecting pygame==2.0.0
Using cached pygame-2.0.0.tar.gz (5.5 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
vitalikye@Vitaliks-MacBook-Pro ~ % pip3 install pygame
Collecting pygame
Using cached pygame-2.1.2-cp310-cp310-macosx_11_0_arm64.whl (8.4 MB)
Installing collected packages: pygame
Successfully installed pygame-2.1.2