
Traceback (most recent call last):


 "/home/trey/script.py", line 6, in <module>

import numpy as np


 "/home/trey/.local/lib/python3.6/site-packages/numpy/__init__.py", line 142, in <module>

from . import core


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/__init__.py", line 59, in <module>

from . import numeric


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/numeric.py", line 3093, in <module>

from . import fromnumeric


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 17, in <module>

from . import _methods


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/_methods.py", line 158, in <module>

_NDARRAY_ARRAY_FUNCTION = mu.ndarray.__array_function__

AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__'

Traceback (most recent call last):


 "main.py", line 89, in <module>

cfg_from_file(args.cfg_file)


 "C:\Users\timon\Downloads\K.I\AttnGAN\code\miscc\config.py", line 105, in cfg_from_file

_merge_a_into_b(yaml_cfg, __C)


 "C:\Users\timon\Downloads\K.I\AttnGAN\code\miscc\config.py", line 73, in _merge_a_into_b

for k, v in a.iteritems():
AttributeError: 'EasyDict' object has no attribute 'iteritems'