简体   繁体   中英

Pygame error in Python 3.4

The error is on the line import pygame:

ImportError: DLL load failed: The specified module could not be found.

from this line in pygame _ init_ :

from pygame.base import *

I am using Python 3.4 and Pygame-1.9.2a0.win32-py3.2.msi

It seems no official Pygame release is compatible with Python 3.4 at the moment. You could downgrade your Python (to 3.2 or 2.7) or use an unofficial Pygame release, like the ones hosted here .

Either way, the issue is not related to Pycharm.

Update : Recently (December 2016), PyGame has come back to life. There are now official PyGame downloads for all current Python versions on Pypi .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM