Traceback (most recent call last):


 "/home/user/synapse_stuff/linux_env/lib64/python3.6/site-packages/magic.py", line 129, in \_\_del\_\_

if self.cookie and magic_close:
AttributeError: 'Magic' object has no attribute 'cookie'

Traceback (most recent call last):


 "f:\studying\Artificial Intelligence\tensorflow\overimagination\bert\bert-master\run_classifier.py", line 25, in <module>

import optimization


 "f:\studying\Artificial Intelligence\tensorflow\overimagination\bert\bert-master\optimization.py", line 87, in <module>

class AdamWeightDecayOptimizer(tf.train.Optimizer):
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'Optimizer'