numpy 1.7.0 fails with cx_freeze 4.3.1

It is a work around:

 

find /numpy/core/__init__.py, and omit 'del sys' which locates at the bottom of this file.

 

numpy 1.6.2 doesn't need 'del sys'.

 

update: use cx_freeze 4.3.2. this problem has been fixed.

你可能感兴趣的:(with)