when I compile a program from .py into .exe and open .exe, this error appears
when I compile a program from .py into .exe and open .exe, this error appears
from cx_Freeze import setup, Executable
setup(
name = "Diophantine equantion",
version = "1.0",
description = "Diophantine equantion",
executables = [Executable("Diofant.py", base='Win32GUI')]
)
Just add options = {'build_exe': {'includes': ['numpy.core._methods']}}
to your setup.