numpy ImportError:无法导入名称amount_to_text_sandv

qxgroojn  于 2023-08-05  发布在  其他
关注(0)|答案(1)|浏览(82)

下面是traceback错误。安装odoo9要求时出现错误。请帮助我修复错误
Traceback(最近的呼叫最后一次):文件"/home/p7assest/physio_tatva/env/lib/python2.7/site-packages/werkzeug/www.example.com ",line 177,in run_wsgi execute(www.example.com)文件"/home/p7assest/physio_tatva/env/lib/python2.7/site-packages/werkzeug/www.example.com",line 165,in execute application_iter = app(environ,start_response)文件"/home/p7assest/physio_tatva/odoo9/openerp/service/www.example.com ",line 247,serving.py行1489,在callreturn www.example.com(environ,start_wrapped)File "/home/p7assest/physio_tatva/env/lib/python2.7/site-packages/werkzeug/www.example.com ",行588,在callreturn www.example.com(environ,start_response)File "/home/p7assest/physio_tatva/odoo9/openerp/www.example.com",行1671,在dispatch ir_http = request中。注册表['ir. http'] File "/home/p7assest/physio_tatva/odoo9/openerp/http.py ",line 376,in registry return openerp.模块。登记处。注册管理员。get(self.db)if self.db else None File "/home/p7assest/physio_tatva/odoo9/openerp/modules/self.server.app www.example.com”,第331行,在load_openerp_moduleimport('openerp.addons.'+ module_name)File "/home/p7assest/physio_tatva/odoo9/openerp/modules/module.py ",line 61,in load_module mod = imp. load_module('openerp.addons.'+ module_part,f,path,descr)File "/home/p7assest/physio_tatva/physio-tattva/addons/receipt_voucher_report/init. py",line 22,in import account_payment File "/home/p7assest/physio_tatva/physio-tattva/addons/receipt_voucher_report/account_payment. py ",第32行,在从www.example.com导入ImportError:serving.py

siotufzp

siotufzp1#

您应该检查模块receipt_voucher_report,因为它就是有问题的模块。应导入amount_to_text而不是amount_to_text_sandv
文件“/home/p7 assest/physio_tatva/physio-tattva/addons/receipt_voucher_report/account_payment.py”,第32行
这就是问题所在

相关问题