Python Forum
How do I get pygame module to work in Spyder? (Mac)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I get pygame module to work in Spyder? (Mac)
#5
(Dec-16-2022, 09:17 PM)snippsat Wrote:
(Dec-16-2022, 08:51 PM)FirstBornAlbratross Wrote: Unfortunately those set of instructions is for Windows, not mac.

I'm having trouble finding the solution for mac.
Where use set Python interpreter in Spyder is the same on Mac,it's not a different Spyder on Mac.
Now is set to /opt/miniconda3/bin/python,so you most do Tools → Preferences
Click on Use the following Python interpreter radio button,then point to /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/python.

Your solution makes logical sense but I have a problem with it.

I can't find the right pathway.

I can't find this specific path:

/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (2.1.3.dev8)

Under site-packages there is:

pygame-2.1.3.dev8.dist-info

But once I open it, there's 7 options to choose from, none of which seem fitting.
Reply


Messages In This Thread
RE: How do I get pygame module to work in Spyder? (Mac) - by FirstBornAlbratross - Dec-16-2022, 09:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  keyboard module doesn't work in the microsoft version terminal of python. username 1 2,910 Feb-25-2021, 05:19 PM
Last Post: Larz60+
  pygame music doesn't work CompleteNewb 1 4,786 Jan-30-2021, 09:25 AM
Last Post: Tyrel
  Cannot make 'pandas' module to work... ellie145 2 4,272 Jan-05-2021, 09:38 PM
Last Post: ellie145
  My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize' RuanKishibe 1 3,213 Aug-06-2020, 10:07 PM
Last Post: deanhystad
  ModuleNotFoundError: No module named 'pygame' Cath 3 14,392 Oct-18-2019, 05:59 PM
Last Post: metulburr
  Pycharm Cannot Find Pygame Module Myang123 2 6,071 Aug-07-2019, 01:26 AM
Last Post: Myang123
  Spyder: Module Not Found jmair 2 20,330 Sep-25-2018, 05:14 PM
Last Post: jmair
  Attribute of module shelve doesn't work Ponomarenko Pavlo 1 5,134 Jul-12-2017, 06:08 PM
Last Post: buran
  Pygame*import pygame ImportError: No module named pygame CASPERHANISCH 1 9,808 Jun-05-2017, 09:50 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020