cmusphinx / g2p-seq2seq

G2P with Tensorflow
Other
667 stars 196 forks source link

Error in python setup.py test #121

Closed ghost closed 6 years ago

ghost commented 6 years ago

I looks for the tensorflow module even though i have installed it.

(Training) rgb@rgb-HP-Notebook:~/Desktop/Training$ g2p-seq2seq Traceback (most recent call last): File "/usr/local/bin/g2p-seq2seq", line 11, in load_entry_point('g2p-seq2seq==6.1.4a0', 'console_scripts', 'g2p-seq2seq')() File "/home/rgb/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/rgb/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2691, in load_entry_point return ep.load() File "/home/rgb/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2322, in load return self.resolve() File "/home/rgb/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2328, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python2.7/dist-packages/g2p_seq2seq-6.1.4a0-py2.7.egg/g2p_seq2seq/init.py", line 24, in from g2p_seq2seq import app File "/usr/local/lib/python2.7/dist-packages/g2p_seq2seq-6.1.4a0-py2.7.egg/g2p_seq2seq/app.py", line 29, in import tensorflow as tf ImportError: No module named tensorflow

nurtas-m commented 6 years ago

First of all, install tensorflow. The installation guide you can find in: https://www.tensorflow.org/install/install_linux#InstallingNativePip