Go to (wherever you have the package installed)/theano/gof/cc.py
Remove this section here (around line 1376):
# We must always add the numpy ABI version here as
# DynamicModule always add the include <numpy/arrayobject.h>
if np.lib.NumpyVersion(np.__version__)<'1.16.0a':
ndarray_c_version = np.core.multiarray._get_ndarray_c_version()
else:
ndarray_c_version =
np.core._multiarray_umath._get_ndarray_c_version()
sig.append('NPY_ABI_VERSION=0x%X' %
ndarray_c_version)
np.core.multiarray._get_ndarray_c_version())
up to but not including this part:
if c_compiler:
sig.append('c_compiler_str=' + c_compiler.version_str())
Go to (wherever you have the package installed)/theano/gof/cc.py
Remove this section here (around line 1376):
up to but not including this part: