r9y9 / nnmnkwii_gallery

A collection of examples demonstrating how we can build speech synthesis systems using nnmnkwii.
https://github.com/r9y9/nnmnkwii
Other
71 stars 21 forks source link

Problem installing pyworld #6

Closed mrgloom closed 5 years ago

mrgloom commented 5 years ago
Building wheel for pyworld (setup.py) ... error
  Complete output from command /Users/my_user/external_projects/text-to-speech/nnmnkwii_gallery/my_env/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/d8/rwzrx4_d14vc83cq1ll_0lvm0000gn/T/pip-install-h3uo3nbp/pyworld/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/d8/rwzrx4_d14vc83cq1ll_0lvm0000gn/T/pip-wheel-hj15t455 --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.13-x86_64-3.6
  creating build/lib.macosx-10.13-x86_64-3.6/pyworld
  copying pyworld/__init__.py -> build/lib.macosx-10.13-x86_64-3.6/pyworld
  running build_ext
  building 'pyworld.pyworld' extension
  creating build/temp.macosx-10.13-x86_64-3.6
  creating build/temp.macosx-10.13-x86_64-3.6/pyworld
  creating build/temp.macosx-10.13-x86_64-3.6/lib
  creating build/temp.macosx-10.13-x86_64-3.6/lib/World
  creating build/temp.macosx-10.13-x86_64-3.6/lib/World/src
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ilib/World/src -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -I/private/var/folders/d8/rwzrx4_d14vc83cq1ll_0lvm0000gn/T/pip-install-h3uo3nbp/pyworld/.eggs/numpy-1.16.2-py3.6-macosx-10.13-x86_64.egg/numpy/core/include -c pyworld/pyworld.cpp -o build/temp.macosx-10.13-x86_64-3.6/pyworld/pyworld.o
  clang: error: no such file or directory: 'pyworld/pyworld.cpp'
  clang: error: no input files
  error: command 'clang' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pyworld
  Running setup.py clean for pyworld
Failed to build pyworld

Fail installing via pip under virtualenv on MacOS

Is it this repo https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder ?

mrgloom commented 5 years ago

Looks like it can be installed like this:

git clone https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder.git
cd Python-Wrapper-for-World-Vocoder
git submodule update --init
pip install -U pip
pip install -r requirements.txt
pip install .
mrgloom commented 5 years ago

On Ubuntu pip install pyworld works fine.