python - Is NumPy Messing Up CX_Freeze? -


i'm trying run frozen python game i've coded error when try run exe. believe because of numpy i'm not quite sure. error:

traceback (most recent call last):   file "c:\python27\lib\site-packages\cx_freeze\initscripts\console.py", line 27 , in <module>     exec code in m.__dict__   file "game.py", line 1, in <module>   file "c:\python27\lib\site-packages\pygame\__init__.py", line 251, in <module>      try: import pygame.surfarray   file "c:\python27\lib\site-packages\pygame\surfarray.py", line 69, in <module>      import pygame._numpysurfarray numpysf   file "c:\python27\lib\site-packages\pygame\_numpysurfarray.py", line 48, in <m odule>     import numpy   file "c:\python27\lib\site-packages\numpy\__init__.py", line 147, in <module>     core import * attributeerror: 'module' object has no attribute 'sys' 

does know whats going on here cause cant figure out? appreciated!

thanks in advance, nate

this bug in cx_freeze, should fixed in development version.

the problem discussed here, , here's the pull request fix it.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -