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 <thory.coqui...@gmail.com>
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 -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/OIQSON3DGF3JCQQIB74PWWQZVRA3ZIXA/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/O3ZXKOP3R5PLEQNT6K775HTV2T52HDQX/

Reply via email to