본문 바로가기

hacking or software engineering skills/etc

[imaginare 설치] TypeError: Class advice impossible in Python3 에러

728x90

문제

TypeError: Class advice impossible in Python3. Use the @Implementer class decorator instead.

apex 에러

해결법

apex를 지우고 다시 설치해준다.

git clone https://www.github.com/nvidia/apex
cd apex
python setup.py install

github.com/NVIDIA/apex/issues/116

 

TypeError: Class advice impossible in Python3 · Issue #116 · NVIDIA/apex

TypeError Traceback (most recent call last) in () ----> 1 from pytorch_pretrained_bert import BertTokenizer /opt/conda/envs/py3/lib/python3.6/site-packages/pytorch_pretrained_bert/init.py in () ...

github.com