Closed kanishkamisra closed 5 years ago
not enough information to reproduce the problem.
You need to provide setup.py output.
Hi, Sorry for that!
Here is the setup.py install
output:
running install
running bdist_egg
running egg_info
writing g2p_seq2seq.egg-info/PKG-INFO
writing dependency_links to g2p_seq2seq.egg-info/dependency_links.txt
writing entry points to g2p_seq2seq.egg-info/entry_points.txt
writing requirements to g2p_seq2seq.egg-info/requires.txt
writing top-level names to g2p_seq2seq.egg-info/top_level.txt
reading manifest file 'g2p_seq2seq.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'g2p_seq2seq.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/g2p_problem.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/g2p_trainer_utils.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/g2p_encoder.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/__init__.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/app.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/g2p.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
copying build/lib/g2p_seq2seq/params.py -> build/bdist.linux-x86_64/egg/g2p_seq2seq
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/g2p_problem.py to g2p_problem.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/g2p_trainer_utils.py to g2p_trainer_utils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/g2p_encoder.py to g2p_encoder.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/app.py to app.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/g2p.py to g2p.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/g2p_seq2seq/params.py to params.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying g2p_seq2seq.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying g2p_seq2seq.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying g2p_seq2seq.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying g2p_seq2seq.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying g2p_seq2seq.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying g2p_seq2seq.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
g2p_seq2seq.__pycache__.g2p.cpython-36: module references __file__
creating 'dist/g2p_seq2seq-6.2.2a0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing g2p_seq2seq-6.2.2a0-py3.6.egg
removing '/home/kanishka/anaconda3/lib/python3.6/site-packages/g2p_seq2seq-6.2.2a0-py3.6.egg' (and everything under it)
creating /home/kanishka/anaconda3/lib/python3.6/site-packages/g2p_seq2seq-6.2.2a0-py3.6.egg
Extracting g2p_seq2seq-6.2.2a0-py3.6.egg to /home/kanishka/anaconda3/lib/python3.6/site-packages
g2p-seq2seq 6.2.2a0 is already the active version in easy-install.pth
Installing g2p-seq2seq script to /home/kanishka/anaconda3/bin
Installed /home/kanishka/anaconda3/lib/python3.6/site-packages/g2p_seq2seq-6.2.2a0-py3.6.egg
Processing dependencies for g2p-seq2seq==6.2.2a0
Searching for tensor2tensor==1.9.0
Best match: tensor2tensor 1.9.0
Adding tensor2tensor 1.9.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for six==1.11.0
Best match: six 1.11.0
Adding six 1.11.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for gym==0.10.8
Best match: gym 0.10.8
Processing gym-0.10.8-py3.6.egg
gym 0.10.8 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/gym-0.10.8-py3.6.egg
Searching for tqdm==4.28.1
Best match: tqdm 4.28.1
Processing tqdm-4.28.1-py3.6.egg
tqdm 4.28.1 is already the active version in easy-install.pth
Installing tqdm script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/tqdm-4.28.1-py3.6.egg
Searching for bz2file==0.98
Best match: bz2file 0.98
Processing bz2file-0.98-py3.6.egg
bz2file 0.98 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/bz2file-0.98-py3.6.egg
Searching for sympy==1.3
Best match: sympy 1.3
Adding sympy 1.3 to easy-install.pth file
Installing isympy script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for gevent==1.3.7
Best match: gevent 1.3.7
Adding gevent 1.3.7 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for numpy==1.15.2
Best match: numpy 1.15.2
Adding numpy 1.15.2 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for Flask==1.0.2
Best match: Flask 1.0.2
Adding Flask 1.0.2 to easy-install.pth file
Installing flask script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for future==0.16.0
Best match: future 0.16.0
Processing future-0.16.0-py3.6.egg
future 0.16.0 is already the active version in easy-install.pth
Installing futurize script to /home/kanishka/anaconda3/bin
Installing pasteurize script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/future-0.16.0-py3.6.egg
Searching for requests==2.20.0
Best match: requests 2.20.0
Adding requests 2.20.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for gunicorn==19.9.0
Best match: gunicorn 19.9.0
Processing gunicorn-19.9.0-py3.6.egg
gunicorn 19.9.0 is already the active version in easy-install.pth
Installing gunicorn script to /home/kanishka/anaconda3/bin
Installing gunicorn_paster script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/gunicorn-19.9.0-py3.6.egg
Searching for google-api-python-client==1.7.4
Best match: google-api-python-client 1.7.4
Processing google_api_python_client-1.7.4-py3.6.egg
google-api-python-client 1.7.4 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/google_api_python_client-1.7.4-py3.6.egg
Searching for scipy==1.1.0
Best match: scipy 1.1.0
Adding scipy 1.1.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for oauth2client==4.1.3
Best match: oauth2client 4.1.3
Processing oauth2client-4.1.3-py3.6.egg
oauth2client 4.1.3 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/oauth2client-4.1.3-py3.6.egg
Searching for h5py==2.7.1
Best match: h5py 2.7.1
Adding h5py 2.7.1 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for pyglet==1.4.0b1
Best match: pyglet 1.4.0b1
Processing pyglet-1.4.0b1-py3.6.egg
pyglet 1.4.0b1 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/pyglet-1.4.0b1-py3.6.egg
Searching for mpmath==1.0.0
Best match: mpmath 1.0.0
Adding mpmath 1.0.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for greenlet==0.4.15
Best match: greenlet 0.4.15
Adding greenlet 0.4.15 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for Jinja2==2.10
Best match: Jinja2 2.10
Adding Jinja2 2.10 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for Click==7.0
Best match: Click 7.0
Adding Click 7.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for Werkzeug==0.14.1
Best match: Werkzeug 0.14.1
Adding Werkzeug 0.14.1 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for ItsDangerous==1.0.0
Best match: ItsDangerous 1.0.0
Adding ItsDangerous 1.0.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for urllib3==1.24
Best match: urllib3 1.24
Adding urllib3 1.24 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for certifi==2018.10.15
Best match: certifi 2018.10.15
Adding certifi 2018.10.15 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for idna==2.7
Best match: idna 2.7
Adding idna 2.7 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for chardet==3.0.4
Best match: chardet 3.0.4
Adding chardet 3.0.4 to easy-install.pth file
Installing chardetect script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for uritemplate==3.0.0
Best match: uritemplate 3.0.0
Processing uritemplate-3.0.0-py3.6.egg
uritemplate 3.0.0 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/uritemplate-3.0.0-py3.6.egg
Searching for httplib2==0.11.3
Best match: httplib2 0.11.3
Processing httplib2-0.11.3-py3.6.egg
httplib2 0.11.3 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/httplib2-0.11.3-py3.6.egg
Searching for google-auth==1.5.1
Best match: google-auth 1.5.1
Processing google_auth-1.5.1-py3.6.egg
google-auth 1.5.1 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/google_auth-1.5.1-py3.6.egg
Searching for google-auth-httplib2==0.0.3
Best match: google-auth-httplib2 0.0.3
Processing google_auth_httplib2-0.0.3-py3.6.egg
google-auth-httplib2 0.0.3 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/google_auth_httplib2-0.0.3-py3.6.egg
Searching for rsa==4.0
Best match: rsa 4.0
Processing rsa-4.0-py3.6.egg
rsa 4.0 is already the active version in easy-install.pth
Installing pyrsa-decrypt script to /home/kanishka/anaconda3/bin
Installing pyrsa-encrypt script to /home/kanishka/anaconda3/bin
Installing pyrsa-keygen script to /home/kanishka/anaconda3/bin
Installing pyrsa-priv2pub script to /home/kanishka/anaconda3/bin
Installing pyrsa-sign script to /home/kanishka/anaconda3/bin
Installing pyrsa-verify script to /home/kanishka/anaconda3/bin
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/rsa-4.0-py3.6.egg
Searching for pyasn1==0.4.4
Best match: pyasn1 0.4.4
Processing pyasn1-0.4.4-py3.6.egg
pyasn1 0.4.4 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/pyasn1-0.4.4-py3.6.egg
Searching for pyasn1-modules==0.2.2
Best match: pyasn1-modules 0.2.2
Processing pyasn1_modules-0.2.2-py3.6.egg
pyasn1-modules 0.2.2 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/pyasn1_modules-0.2.2-py3.6.egg
Searching for MarkupSafe==1.0
Best match: MarkupSafe 1.0
Adding MarkupSafe 1.0 to easy-install.pth file
Using /home/kanishka/anaconda3/lib/python3.6/site-packages
Searching for cachetools==2.1.0
Best match: cachetools 2.1.0
Processing cachetools-2.1.0-py3.6.egg
cachetools 2.1.0 is already the active version in easy-install.pth
Using /home/kanishka/anaconda3/lib/python3.6/site-packages/cachetools-2.1.0-py3.6.egg
Finished processing dependencies for g2p-seq2seq==6.2.2a0
It says
Installing g2p-seq2seq script to /home/kanishka/anaconda3/bin
you're right, thanks a lot!
I need to be better at reading outputs
Hi Guys,
I ran the
setup.py
instruction from the readme, untarred the pretrained model but I cannot seem the run the executable command. It doesn't even add the g2p-seq2seq to my/usr/local/bin
so maybe I am missing something.Let me know if I need to provide anything else!
Thanks