If you have Python 3.8 and wants it to be installed to the Python 3.8 environment, do:
python3.8 -m pip install pygame I also recommend installing it to a virtual environment like venv. Hope this helps. On Sat, May 9, 2020, 4:20 AM Thory Coquillo <[email protected]> wrote: > Hello, > > I'm using the current version of Python on both a MacBook Pro and an iMac. > I'm trying to import the pygame module from the terminal. > > The problem is that it's applying the module to Python 2.7 that came with > the computer. > > Is there a way that I can correct the path so that every command I enter > in the Terminal gets applied to whichever current version of Python that > I'm running? > > Let me know. > > Thanks, > > > Thory > -- > Distutils-SIG mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/distutils-sig.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/OIQSON3DGF3JCQQIB74PWWQZVRA3ZIXA/ >
-- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/O3ZXKOP3R5PLEQNT6K775HTV2T52HDQX/
