CSTR-Edinburgh / merlin

This is now the official location of the Merlin project.
http://www.cstr.ed.ac.uk/projects/merlin/
Apache License 2.0
1.3k stars 441 forks source link

python dependencies #500

Open nipppas opened 4 years ago

nipppas commented 4 years ago

Hello I am trying to build merlin tts. Until now I have succesfully compiled all tools. When I install python dependencies such as: pip install numpy scipy matplotlib lxml theano bandmat with python 2.7 its collecting and download each one of them but after that it gives that error: ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x_fijD/bandmat/setup.py'"'"'; file='"'"'/tmp/pip-install-x_fijD/bandmat/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-x_fijD/bandmat/pip-egg-info cwd: /tmp/pip-install-x_fijD/bandmat/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-x_fijD/bandmat/setup.py", line 10, in import numpy as np ImportError: No module named numpy

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

if anyone knows it could be awesome

seblemaguer commented 4 years ago

are you sure that your pip is using the same python?

baniyacoder commented 2 years ago

choose python2.7 -m pip install numpy i hope it works