对于python中的theano包运行不了的问题,请求帮助

这是报错的全部,就是说应该是theano的问题,但是咱看不出问题出在哪里,求帮助

INFO (theano.gof.compilelock): Refreshing lock C:\Users\xiaohu\AppData\Local\Theano\compiledir_Windows-10-10.0.22000-SP0-AMD64_Family_25_Model_80_Stepping_0_AuthenticAMD-3.9.7-64\lock_dir\lock

You can find the C code in this temporary file: C:\Users\xiaohu\AppData\Local\Temp\theano_compilation_error_fm503n76
library mkl_rt is not found.
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_21112/2398269917.py in <module>
      1 # If you have validation data, you can add it as the second parameter to the function
----> 2 metrics = model.train(train_data, n_epochs=n_epochs, logger=logger, update_fn=update_fn)

C:\Users/xiaohu/Downloads/DeepSurv-v2.0.0/jaredleekatzman-DeepSurv-6133ab6/deepsurv\deep_surv.py in train(self, train_data, valid_data, n_epochs, validation_frequency, patience, improvement_threshold, patience_increase, logger, update_fn, verbose, **kwargs)
    410         momentum = numpy.array(0, dtype= numpy.float32)
    411 
--> 412         train_fn, valid_fn = self._get_train_valid_fn(
    413             L1_reg=self.L1_reg, L2_reg=self.L2_reg,
    414             learning_rate=lr,

C:\Users/xiaohu/Downloads/DeepSurv-v2.0.0/jaredleekatzman-DeepSurv-6133ab6/deepsurv\deep_surv.py in _get_train_valid_fn(self, L1_reg, L2_reg, learning_rate, **kwargs)
    254             learning_rate=learning_rate, **kwargs
    255         )
--> 256         train_fn = theano.function(
    257             inputs = [self.X, self.E],
    258             outputs = loss,

D:\tools\lib\site-packages\theano\compile\function.py in function(inputs, outputs, mode, updates, givens, no_default_updates, accept_inplace, name, rebuild_strict, allow_input_downcast, profile, on_unused_input)
    304         # note: pfunc will also call orig_function -- orig_function is
    305         #      a choke point that all compilation must pass through
--> 306         fn = pfunc(params=inputs,
    307                    outputs=outputs,
    308                    mode=mode,

D:\tools\lib\site-packages\theano\compile\pfunc.py in pfunc(params, outputs, mode, updates, givens, no_default_updates, accept_inplace, name, rebuild_strict, allow_input_downcast, profile, on_unused_input, output_keys)
    481         inputs.append(si)
    482 
--> 483     return orig_function(inputs, cloned_outputs, mode,
    484                          accept_inplace=accept_inplace, name=name,
    485                          profile=profile, on_unused_input=on_unused_input,

D:\tools\lib\site-packages\theano\compile\function_module.py in orig_function(inputs, outputs, mode, accept_inplace, name, profile, on_unused_input, output_keys)
   1839                   name=name)
   1840         with theano.change_flags(compute_test_value="off"):
-> 1841             fn = m.create(defaults)
   1842     finally:
   1843         t2 = time.time()

D:\tools\lib\site-packages\theano\compile\function_module.py in create(self, input_storage, trustme, storage_map)
   1712         try:
   1713             theano.config.traceback.limit = theano.config.traceback.compile_limit
-> 1714             _fn, _i, _o = self.linker.make_thunk(
   1715                 input_storage=input_storage_lists, storage_map=storage_map)
   1716         finally:

D:\tools\lib\site-packages\theano\gof\link.py in make_thunk(self, input_storage, output_storage, storage_map)
    695 
    696     def make_thunk(self, input_storage=None, output_storage=None, storage_map=None):
--> 697         return self.make_all(input_storage=input_storage,
    698                              output_storage=output_storage,
    699                              storage_map=storage_map)[:3]

D:\tools\lib\site-packages\theano\gof\vm.py in make_all(self, profiler, input_storage, output_storage, storage_map)
   1085                 # no need to cause duplicate c code by passing
   1086                 # no_recycling here.
-> 1087                 thunks.append(node.op.make_thunk(node,
   1088                                                  storage_map,
   1089                                                  compute_map,

D:\tools\lib\site-packages\theano\gof\op.py in make_thunk(self, node, storage_map, compute_map, no_recycling, impl)
    952                               compute_map=compute_map, impl='c')
    953             try:
--> 954                 return self.make_c_thunk(node, storage_map, compute_map,
    955                                          no_recycling)
    956             except (NotImplementedError, utils.MethodNotDefined):

D:\tools\lib\site-packages\theano\gof\op.py in make_c_thunk(self, node, storage_map, compute_map, no_recycling)
    855                 raise NotImplementedError("float16")
    856         _logger.debug('Trying CLinker.make_thunk')
--> 857         outputs = cl.make_thunk(input_storage=node_input_storage,
    858                                 output_storage=node_output_storage)
    859         thunk, node_input_filters, node_output_filters = outputs

D:\tools\lib\site-packages\theano\gof\cc.py in make_thunk(self, input_storage, output_storage, storage_map, keep_lock)
   1213         """
   1214         init_tasks, tasks = self.get_init_tasks()
-> 1215         cthunk, module, in_storage, out_storage, error_storage = self.__compile__(
   1216             input_storage, output_storage, storage_map,
   1217             keep_lock=keep_lock)

D:\tools\lib\site-packages\theano\gof\cc.py in __compile__(self, input_storage, output_storage, storage_map, keep_lock)
   1151         input_storage = tuple(input_storage)
   1152         output_storage = tuple(output_storage)
-> 1153         thunk, module = self.cthunk_factory(error_storage,
   1154                                             input_storage,
   1155                                             output_storage,

D:\tools\lib\site-packages\theano\gof\cc.py in cthunk_factory(self, error_storage, in_storage, out_storage, storage_map, keep_lock)
   1621             for node in self.node_order:
   1622                 node.op.prepare_node(node, storage_map, None, 'c')
-> 1623             module = get_module_cache().module_from_key(
   1624                 key=key, lnk=self, keep_lock=keep_lock)
   1625 

D:\tools\lib\site-packages\theano\gof\cmodule.py in module_from_key(self, key, lnk, keep_lock)
   1187             try:
   1188                 location = dlimport_workdir(self.dirname)
-> 1189                 module = lnk.compile_cmodule(location)
   1190                 name = module.__file__
   1191                 assert name.startswith(location)

D:\tools\lib\site-packages\theano\gof\cc.py in compile_cmodule(self, location)
   1518         try:
   1519             _logger.debug("LOCATION %s", str(location))
-> 1520             module = c_compiler.compile_str(
   1521                 module_name=mod.code_hash,
   1522                 src_code=src_code,

D:\tools\lib\site-packages\theano\gof\cmodule.py in compile_str(module_name, src_code, location, include_dirs, lib_dirs, libs, preargs, py_module, hide_symbols)
   2411                             (status, compile_stderr.replace('\n', '. ')))
   2412         elif config.cmodule.compilation_warning and compile_stderr:
-> 2413             # Print errors just below the command line.
   2414             print(compile_stderr)
   2415 

Exception: ('The following error happened while compiling the node', Dot22(Elemwise{Composite{(i0 * (i1 + Abs(i1)) * i2)}}[(0, 1)].0, W), '\n', 'Compilation failed (return status=1): D:/tools/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmkl_rt\r. collect2.exe: error: ld returned 1 exit status\r. ', '[Dot22(<TensorType(float64, matrix)>, W)]')