Traceback (most recent call last):


 "prepro_std.py", line 7, in <module>

from pytorch_pretrained_bert.tokenization import BertTokenizer


 "/home/ec2-user/anaconda3/envs/ms_mtdnn/lib/python3.6/site-packages/pytorch_pretrained_bert/__init__.py", line 7, in <module>

from .modeling import (BertConfig, BertModel, BertForPreTraining,


 "/home/ec2-user/anaconda3/envs/ms_mtdnn/lib/python3.6/site-packages/pytorch_pretrained_bert/modeling.py", line 218, in <module>

from apex.normalization.fused_layer_norm import FusedLayerNorm as BertLayerNorm


 "/home/ec2-user/anaconda3/envs/ms_mtdnn/lib/python3.6/site-packages/apex/__init__.py", line 18, in <module>

from apex.interfaces import (ApexImplementation,


 "/home/ec2-user/anaconda3/envs/ms_mtdnn/lib/python3.6/site-packages/apex/interfaces.py", line 10, in <module>

class ApexImplementation(object):


 "/home/ec2-user/anaconda3/envs/ms_mtdnn/lib/python3.6/site-packages/apex/interfaces.py", line 14, in ApexImplementation

implements(IApex)


 "/home/ec2-user/anaconda3/envs/ms_mtdnn/lib/python3.6/site-packages/zope/interface/declarations.py", line 483, in implements

raise TypeError(_ADVICE_ERROR % 'implementer')
TypeError: Class advice impossible in Python3.
Use the @implementer class decorator instead.

Traceback (most recent call last):


 "N:\git\leo-editor\leo\plugins\qt_frame.py", line 813, in wrapper

return self.keyPress(event)


 "N:\git\leo-editor\leo\plugins\qt_frame.py", line 848, in keyPress

stroke = ef.toStroke(tkKey, ch) # ch not used.
TypeError: toStroke() takes 2 positional arguments but 3 were given
