Skip to content

Verify if pygame exists before running the game. #1

Open

Description

@mindheist
Prabhus-MacBook-Pro:pygame_examples prabhudhanapal$ python maze_runner.py
Traceback (most recent call last):
  File "maze_runner.py", line 15, in <module>
    import pygame
ImportError: No module named pygame

Verify if pygame exists before running the game ; code goes in the main file.

sudo easy_install pip

Activity

  1. mindheist commented on Mar 15, 2016

    @mindheist
    OwnerAuthor

    looks like this is a little complicated on OSX 10.10 and above : https://jamesfriend.com.au/installing-pygame-python-3-mac-os-yosemite , this was a useful article , but note that it sets up the environment with python3 ( which we might not necessarily want )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions