Skip to content

Instantly share code, notes, and snippets.

@heartofrevel
Created July 17, 2019 07:01
Show Gist options
  • Save heartofrevel/e5381f40e1e970eda906906f790b6b2e to your computer and use it in GitHub Desktop.
Save heartofrevel/e5381f40e1e970eda906906f790b6b2e to your computer and use it in GitHub Desktop.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting textract
Requirement already satisfied: beautifulsoup4==4.5.3 in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from textract) (4.5.3)
Requirement already satisfied: docx2txt==0.6 in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from textract) (0.6)
Requirement already satisfied: EbookLib==0.15 in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from textract) (0.15)
Requirement already satisfied: SpeechRecognition==3.6.3 in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from textract) (3.6.3)
Collecting pocketsphinx==0.1.3 (from textract)
Using cached https://files.pythonhosted.org/packages/93/5f/a968e5d53d25e32deb78c3e169fd8612ecf53cc76e32cb40e19be35696af/pocketsphinx-0.1.3.tar.bz2
Collecting xlrd==1.0.0 (from textract)
Collecting chardet==2.3.0 (from textract)
Using cached https://files.pythonhosted.org/packages/7e/5c/605ca2daa5cf21c87690d8fe6ab05a6f2278c451f4ede6456dd26453f4bd/chardet-2.3.0-py2.py3-none-any.whl
Collecting argcomplete==1.8.2 (from textract)
Using cached https://files.pythonhosted.org/packages/f0/0f/f965f1520e6ba24b63320919eecfbe3d03debd32402e0c61a08e8fa02d17/argcomplete-1.8.2-py2.py3-none-any.whl
Collecting python-pptx==0.6.5 (from textract)
Requirement already satisfied: six==1.10.0 in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from textract) (1.10.0)
Requirement already satisfied: lxml in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from EbookLib==0.15->textract) (4.3.4)
Collecting Pillow>=2.6.1 (from python-pptx==0.6.5->textract)
Using cached https://files.pythonhosted.org/packages/cc/a4/79b5f36d1e1a2b426073bd62217d1530fcd939950c2936651e6b39127a9b/Pillow-6.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Requirement already satisfied: XlsxWriter>=0.5.7 in /home/ml-app/DATA_DESIGN/pyenv/lib/python2.7/dist-packages (from python-pptx==0.6.5->textract) (1.1.2)
Building wheels for collected packages: pocketsphinx
Building wheel for pocketsphinx (setup.py) ... error
ERROR: Complete output from command /home/ml-app/DATA_DESIGN/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-vvm8MB/pocketsphinx/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 /tmp/pip-wheel-Ia87dH --python-tag cp27:
ERROR: running bdist_wheel
running build_ext
building 'sphinxbase._ad' extension
swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
swig -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pocketsphinx
Running setup.py clean for pocketsphinx
Failed to build pocketsphinx
ERROR: requests 2.18.4 has requirement chardet<3.1.0,>=3.0.2, but you'll have chardet 2.3.0 which is incompatible.
Installing collected packages: pocketsphinx, xlrd, chardet, argcomplete, Pillow, python-pptx, textract
Running setup.py install for pocketsphinx ... error
ERROR: Complete output from command /home/ml-app/DATA_DESIGN/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-vvm8MB/pocketsphinx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-Bo7HHP/install-record.txt --single-version-externally-managed --compile --install-headers /home/ml-app/DATA_DESIGN/bin/../pyenv/include/site/python2.7/pocketsphinx:
ERROR: running install
running build_ext
building 'sphinxbase._ad' extension
swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
swig -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
ERROR: Command "/home/ml-app/DATA_DESIGN/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-vvm8MB/pocketsphinx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-Bo7HHP/install-record.txt --single-version-externally-managed --compile --install-headers /home/ml-app/DATA_DESIGN/bin/../pyenv/include/site/python2.7/pocketsphinx" failed with error code 1 in /tmp/pip-install-vvm8MB/pocketsphinx/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment