使用Python的时候报错:
1 2 3 4 5 6 7 8
|
Traceback (most recent call last): File "D:/python_work/OA_RegressionTree/oa_result.py", line 3, in <module> from regression_tree_cart import * File "D:python_workOA_RegressionTreeregression_tree_cart.py", line 6, in <module> import pygame File "C:UsersDBISAppDataRoamingPythonPython27site-packagespygame__init__.py", line 136, in <module> from pygame.base import * ImportError: DLL load failed: %1 ������Ч�� Win32 Ӧ�ó���
|
原因
python版本是64位,安装的pygame是32位的,版本不一致导致出现此错误,统一版本即可。
近期评论