Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 594, in urlopen

self._prepare_proxy(conn)


 "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 815, in _prepare_proxy

conn.connect()


 "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 356, in connect

ssl_context=context)


 "/usr/local/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 359, in ssl_wrap_socket

return context.wrap_socket(sock, server_hostname=server_hostname)


 "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 450, in wrap_socket

raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')])",)

Traceback (most recent call last):


 "/spack/bin/spack", line 85, in <module>

sys.exit(spack.main.main())


 "/spack/lib/spack/spack/main.py", line 580, in main

parser.add_command(cmd_name)


 "/spack/lib/spack/spack/main.py", line 291, in add_command

module.setup_parser(subparser)


 "/spack/lib/spack/spack/cmd/compilers.py", line 34, in setup_parser

scopes = spack.config.scopes()


 "/spack/lib/spack/spack/config.py", line 528, in scopes

return config.scopes


 "/spack/lib/spack/llnl/util/lang.py", line 556, in __getattr__

return getattr(self.instance, name)


 "/spack/lib/spack/llnl/util/lang.py", line 552, in instance

self._instance = self.factory()


 "/spack/lib/spack/spack/config.py", line 492, in _config

platform = spack.architecture.platform().name


 "/spack/lib/spack/llnl/util/lang.py", line 182, in __call__

self.cache[args] = self.func(*args)


 "/spack/lib/spack/spack/architecture.py", line 498, in platform

return platform_cls()


 "/spack/lib/spack/spack/platforms/cray.py", line 68, in __init__

for target in self._avail_targets():


 "/spack/lib/spack/spack/platforms/cray.py", line 156, in _avail_targets

module = get_module_cmd()


 "/spack/lib/spack/spack/util/module_cmd.py", line 46, in get_module_cmd

raise ModuleError('Spack requires modulecmd or a defined module'
spack.util.module_cmd.ModuleError: Spack requires modulecmd or a defined module fucntion. Make sure modulecmd is in your path or the function "module" is defined in your bash environment.
