r9y9 / nnmnkwii

Library to build speech synthesis systems designed for easy and fast prototyping.

Home Page:https://r9y9.github.io/nnmnkwii/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

numpy is a dependency, but it is also required by setup, thus a "cold" pip install nnmnkwii fails

Martin-Laclaustra opened this issue · comments

This could be related to #64 .
Installing with pip install nnmnkwii as instructed in the main readme fails when done in a new environment.
Performing pip install numpy before, and then pip install nnmnkwii succeeds.
This is because in setup.py numpy is imported in

import numpy as np

because it is used in
include_dirs=[np.get_include()],

and
include_dirs=[np.get_include()],

It would be preferable if these actions could be performed differently.
Numpy is actually a dependency of the package, but it is not granted to be installed before the actual dependencies file (setup.py) is executed.
'numpy >= 1.11.0',

Regards.

If r9y9/pysptk#65 gets fixed, I will do the same for the nnmnkwii and tag a new release.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.