Attempt to index field 'HookManager' error

Hi!
After updating, I keep receiving this kind of error whatever command I ran:
/torch/install/bin/luajit: translate.lua:49: attempt to index field ‘HookManager’ (a nil value)
/torch/install/bin/luajit: tools/rest_translation_server.lua:39: attempt to index field ‘HookManager’ (a nil value)
/torch/install/bin/luajit: tools/rest_multi_models.lua:58: attempt to index field ‘HookManager’ (a nil value)
Can you help me?

Thank you!

Hello,

Did you install OpenNMT with luarocks? If yes we recommend removing the installation to avoid this kind of issues when updating:

luarocks remove opennmt

Thank you! I’ll try it.