
Traceback (most recent call last):


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


 "/private/var/folders/64/h98pzhnd31d0p5q4_3f_sxwr0000gp/T/pip-build-ME9jFL/pycrypto/setup.py", line 456, in <module>

core.setup(**kw)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup

dist.run_commands()


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/Users/brian.oh/Desktop/algo-master/env/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run

return orig.install.run(self)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 573, in run

self.run_command('build')


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run

self.run_command(cmd_name)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/private/var/folders/64/h98pzhnd31d0p5q4_3f_sxwr0000gp/T/pip-build-ME9jFL/pycrypto/setup.py", line 251, in run

self.run_command(cmd_name)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/private/var/folders/64/h98pzhnd31d0p5q4_3f_sxwr0000gp/T/pip-build-ME9jFL/pycrypto/setup.py", line 278, in run

raise RuntimeError("autoconf error")

RuntimeError: autoconf error

Traceback (most recent call last):


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

main()


 "main.py", line 98, in main

torch.cuda.set_device(args.local_rank)


 "/home/xxx/anaconda3/envs/asff/lib/python3.6/site-packages/torch/cuda/__init__.py", line 300, in set_device

torch._C._cuda_setDevice(device)
RuntimeError: cuda runtime error (101) : invalid device ordinal at /opt/conda/conda-bld/pytorch_1573049304260/work/torch/csrc/cuda/Module.cpp:37
