Installing Pygame for Mac OS X 10.6.8

后端 未结 5 1647
花落未央
花落未央 2020-11-30 05:01

Using Python 2.7.2. When I try to import pygame I get this error message:

Traceback (most recent call last):
  File \"\", line 1, in 

        
5条回答
  •  情歌与酒
    2020-11-30 05:37

    The clue is in the last line no matching architecture in universal wrapper. Most likely you are using precompiled 32-bit binaries on a 64-bit system.

    You can try reinstalling or compiling from scratch but it would probably be far easier to just force python to run in 32-bit. Lots more info over here in this post.

提交回复
热议问题