Python setup.py install is throwing error

I am trying to train Tactoron model on LJSpeech dataset.
I am following the instruction from Mozilla tts offical page :

but while running python setup.py install , it is throwing following error:

Installed /usr/local/lib/python3.6/dist-packages/nose-1.3.7-py3.6.egg

Searching for pyworld
Reading https://pypi.org/simple/pyworld/
Downloading https://files.pythonhosted.org/packages/af/88/003eef396c966cf00088900167831946b80b8e7650843905cb9590c2d9ca/pyworld-0.2.12.tar.gz#sha256=896c910696975855578d855f490f94d7a57119e0a75f7f15e11fdf58ba891627
Best match: pyworld 0.2.12
Processing pyworld-0.2.12.tar.gz
Writing /tmp/easy_install-utvk7kus/pyworld-0.2.12/setup.cfg
Running pyworld-0.2.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-utvk7kus/pyworld-0.2.12/egg-dist-tmp-tasigmsx
Traceback (most recent call last):
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 152, in save_modules
yield saved
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 193, in setup_context
yield
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 254, in run_setup
_execfile(setup_script, ns)
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 43, in _execfile
exec(code, globals, locals)
File “/tmp/easy_install-utvk7kus/pyworld-0.2.12/setup.py”, line 66, in
ext.include_dirs = [numpy.get_include()]
File “/usr/local/lib/python3.6/dist-packages/setuptools/init.py”, line 153, in setup
return distutils.core.setup(**attrs)
File “/usr/lib/python3.6/distutils/core.py”, line 148, in setup
dist.run_commands()
File “/usr/lib/python3.6/distutils/dist.py”, line 955, in run_commands
self.run_command(cmd)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/bdist_egg.py”, line 158, in run
self.run_command(“egg_info”)
File “/usr/lib/python3.6/distutils/cmd.py”, line 313, in run_command
self.distribution.run_command(command)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 298, in run
self.find_sources()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 305, in find_sources
mm.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 536, in run
self.add_defaults()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 572, in add_defaults
sdist.add_defaults(self)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/py36compat.py”, line 34, in add_defaults
self._add_defaults_ext()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/py36compat.py”, line 117, in _add_defaults_ext
build_ext = self.get_finalized_command(‘build_ext’)
File “/usr/lib/python3.6/distutils/cmd.py”, line 299, in get_finalized_command
cmd_obj.ensure_finalized()
File “/usr/lib/python3.6/distutils/cmd.py”, line 107, in ensure_finalized
self.finalize_options()
File “/tmp/easy_install-utvk7kus/pyworld-0.2.12/setup.py”, line 29, in finalize_options
type=str,
AttributeError: ‘dict’ object has no attribute ‘NUMPY_SETUP

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “setup.py”, line 147, in
“Topic :: Software Development :: Libraries :: Python Modules :: Speech :: Sound/Audio :: Multimedia :: Artificial Intelligence”,
File “/usr/local/lib/python3.6/dist-packages/setuptools/init.py”, line 153, in setup
return distutils.core.setup(**attrs)
File “/usr/lib/python3.6/distutils/core.py”, line 148, in setup
dist.run_commands()
File “/usr/lib/python3.6/distutils/dist.py”, line 955, in run_commands
self.run_command(cmd)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py”, line 67, in run
self.do_egg_install()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py”, line 117, in do_egg_install
cmd.run(show_deprecation=False)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 408, in run
self.easy_install(spec, not self.no_deps)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 650, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 697, in install_item
self.process_distribution(spec, dist, deps)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 742, in process_distribution
[requirement], self.local_index, self.easy_install
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 766, in resolve
replace_conflicting=replace_conflicting
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 1049, in best_match
return self.obtain(req, installer)
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 1061, in obtain
return installer(requirement)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 669, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 695, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 880, in install_eggs
return self.build_and_install(setup_script, setup_base)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 1150, in build_and_install
self.run_setup(setup_script, setup_base, args)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py”, line 1134, in run_setup
run_setup(setup_script, args)
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 257, in run_setup
raise
File “/usr/lib/python3.6/contextlib.py”, line 99, in exit
self.gen.throw(type, value, traceback)
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 193, in setup_context
yield
File “/usr/lib/python3.6/contextlib.py”, line 99, in exit
self.gen.throw(type, value, traceback)
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 164, in save_modules
saved_exc.resume()
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 139, in resume
raise exc.with_traceback(self._tb)
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 152, in save_modules
yield saved
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 193, in setup_context
yield
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 254, in run_setup
_execfile(setup_script, ns)
File “/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py”, line 43, in _execfile
exec(code, globals, locals)
File “/tmp/easy_install-utvk7kus/pyworld-0.2.12/setup.py”, line 66, in
ext.include_dirs = [numpy.get_include()]
File “/usr/local/lib/python3.6/dist-packages/setuptools/init.py”, line 153, in setup
return distutils.core.setup(**attrs)
File “/usr/lib/python3.6/distutils/core.py”, line 148, in setup
dist.run_commands()
File “/usr/lib/python3.6/distutils/dist.py”, line 955, in run_commands
self.run_command(cmd)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/bdist_egg.py”, line 158, in run
self.run_command(“egg_info”)
File “/usr/lib/python3.6/distutils/cmd.py”, line 313, in run_command
self.distribution.run_command(command)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 298, in run
self.find_sources()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 305, in find_sources
mm.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 536, in run
self.add_defaults()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/egg_info.py”, line 572, in add_defaults
sdist.add_defaults(self)
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/py36compat.py”, line 34, in add_defaults
self._add_defaults_ext()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/py36compat.py”, line 117, in _add_defaults_ext
build_ext = self.get_finalized_command(‘build_ext’)
File “/usr/lib/python3.6/distutils/cmd.py”, line 299, in get_finalized_command
cmd_obj.ensure_finalized()
File “/usr/lib/python3.6/distutils/cmd.py”, line 107, in ensure_finalized
self.finalize_options()
File “/tmp/easy_install-utvk7kus/pyworld-0.2.12/setup.py”, line 29, in finalize_options
type=str,
AttributeError: ‘dict’ object has no attribute ‘NUMPY_SETUP

@Vinay_Sharma Please move this to the TTS section, this section is for STT.

Use dev branch, not master.