python2710运行报错 File homegnnanaconda3envsmycnn2710libpython27site-packageslibrosacachepy line 35 in wrapper from decorator import FunctionMaker
这个错误是由于缺少decorator模块导致的。decorator模块在Python 2.7中不是内置模块,所以需要手动安装。
你可以使用以下命令安装decorator模块:
pip install decorator
然后再次运行你的代码,应该就不会报错了。
原文地址: https://www.cveoy.top/t/topic/hUFG 著作权归作者所有。请勿转载和采集!