Traceback (most recent call last):

 "setup.py", line 221, in <module>
cmdclass={'build_py': build_py})

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 152, in setup
config = configuration()

 "setup.py", line 179, in configuration
config.add_subpackage(DISTNAME)

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage
caller_level = 2)

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 971, in get_subpackage
caller_level = caller_level + 1)

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 908, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)

 "statsmodels/setup.py", line 25, in configuration
config.add_subpackage('nonparametric')

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage
caller_level = 2)

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 971, in get_subpackage
caller_level = caller_level + 1)

 "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 908, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)

 "statsmodels/nonparametric/setup.py", line 29, in configuration
cython(['fast_linbin.pyx'], working_path=cur_dir)

 "/home/js2796a/src/statsmodels/tools/_build.py", line 110, in cython
'-o', c_file, pyxfile])

 "/usr/local/lib/python2.7/subprocess.py", line 493, in call
return Popen(*popenargs, **kwargs).wait()

 "/usr/local/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)

 "/usr/local/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exceptionOSError: [Errno 13] Permission denied
>>> Traceback (most recent call last):

 "D:\Python\spyder\spyderlib\plugins\ipythonconsole.py", line 1049, in close_console
self.close_related_ipyclients(client)

 "D:\Python\spyder\spyderlib\plugins\ipythonconsole.py", line 991, in close_related_ipyclients
self.close_console(widget=cl)TypeError: close_console() got an unexpected keyword argument 'widget'