Traceback (most recent call last):


 "test.py", line 11, in <module>

from pytorch_lightning.metrics.functional import accuracy


 "C:\Users\dcho\Anaconda3\envs\torch_py36\lib\site-packages\pytorch_lightning\metrics\__init__.py", line 1, in <module>

from pytorch_lightning.metrics.converters import numpy_metric, tensor_metric


 "C:\Users\dcho\Anaconda3\envs\torch_py36\lib\site-packages\pytorch_lightning\metrics\converters.py", line 220, in <module>

reduce_op: Optional[torch.distributed.ReduceOp] = None,
AttributeError: module 'torch.distributed' has no attribute 'ReduceOp'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python2.7/dist-packages/angr/__init__.py", line 12, in <module>

from .sim_procedure import SimProcedure


 "/usr/local/lib/python2.7/dist-packages/angr/sim_procedure.py", line 403, in <module>

from angr.sim_type import SimTypePointer


 "/usr/local/lib/python2.7/dist-packages/angr/sim_type.py", line 1158, in <module>

from .state_plugins.view import SimMemView


 "/usr/local/lib/python2.7/dist-packages/angr/state_plugins/__init__.py", line 3, in <module>

from .libc import *


 "/usr/local/lib/python2.7/dist-packages/angr/state_plugins/libc.py", line 271, in <module>

from angr.sim_state import SimState


 "/usr/local/lib/python2.7/dist-packages/angr/sim_state.py", line 11, in <module>

from archinfo import arch_from_id


 "/usr/local/lib/python2.7/dist-packages/archinfo/__init__.py", line 8, in <module>

from .arch_amd64
import ArchAMD64


 "/usr/local/lib/python2.7/dist-packages/archinfo/arch_amd64.py", line 29, in <module>

class ArchAMD64(Arch):


 "/usr/local/lib/python2.7/dist-packages/archinfo/arch_amd64.py", line 186, in ArchAMD64

ks_arch = _keystone.KS_ARCH_X86
AttributeError: 'module' object has no attribute 'KS_ARCH_X86'
