Last active
April 25, 2020 20:00
-
-
Save flavio-fernandes/e3ef13a95bb159067beed00e0c31b85c to your computer and use it in GitHub Desktop.
installing shell job dependency issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I get this when installing shelljob via pip: | |
... | |
Collecting shelljob | |
Using cached shelljob-0.5.8.tar.gz (318 kB) | |
ERROR: Command errored out with exit status 1: | |
command: /Users/gute/Desktop/mqtt2cmd/env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/d_/jjdk8f2d3k5gz2tvyb9cv74r0000gn/T/pip-install-svrq_xt3/shelljob/setup.py'"'"'; __file__='"'"'/private/var/folders/d_/jjdk8f2d3k5gz2tvyb9cv74r0000gn/T/pip-install-svrq_xt3/shelljob/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 /private/var/folders/d_/jjdk8f2d3k5gz2tvyb9cv74r0000gn/T/pip-install-svrq_xt3/shelljob/pip-egg-info | |
cwd: /private/var/folders/d_/jjdk8f2d3k5gz2tvyb9cv74r0000gn/T/pip-install-svrq_xt3/shelljob/ | |
Complete output (12 lines): | |
Generating Description failed, press enter to process anyway, or kill to cancelTraceback (most recent call last): | |
File "/private/var/folders/d_/jjdk8f2d3k5gz2tvyb9cv74r0000gn/T/pip-install-svrq_xt3/shelljob/setup.py", line 12, in <module> | |
import pypandoc | |
ModuleNotFoundError: No module named 'pypandoc' | |
---- | |
vagrant up | |
... | |
default: ++ dirname /vagrant/mqtt2cmd/bin/create-env.sh | |
default: /vagrant /vagrant/mqtt2cmd/bin | |
default: + cd /vagrant/mqtt2cmd/bin | |
default: + BIN_DIR=/vagrant/mqtt2cmd/bin | |
default: + PROG_DIR=/vagrant/mqtt2cmd | |
default: + TOP_DIR=/vagrant | |
default: + pushd /vagrant | |
default: + '[' '!' -e ./env ']' | |
default: + python3 -m venv --copies env | |
default: + source ./env/bin/activate | |
default: ++ deactivate nondestructive | |
default: ++ '[' -n '' ']' | |
default: ++ '[' -n '' ']' | |
default: ++ '[' -n /bin/bash -o -n '' ']' | |
default: ++ hash -r | |
default: ++ '[' -n '' ']' | |
default: ++ unset VIRTUAL_ENV | |
default: ++ '[' '!' nondestructive = nondestructive ']' | |
default: ++ VIRTUAL_ENV=/vagrant/env | |
default: ++ export VIRTUAL_ENV | |
default: ++ _OLD_VIRTUAL_PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/vagrant/.local/bin:/home/vagrant/bin | |
default: ++ PATH=/vagrant/env/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/vagrant/.local/bin:/home/vagrant/bin | |
default: ++ export PATH | |
default: ++ '[' -n '' ']' | |
default: ++ '[' -z '' ']' | |
default: ++ _OLD_VIRTUAL_PS1= | |
default: ++ '[' 'x(env) ' '!=' x ']' | |
default: ++ PS1='(env) ' | |
default: ++ export PS1 | |
default: ++ '[' -n /bin/bash -o -n '' ']' | |
default: ++ hash -r | |
default: + pip install --ignore-installed -r ./requirements.txt | |
default: Collecting dill (from -r ./requirements.txt (line 1)) | |
default: Downloading https://files.pythonhosted.org/packages/c7/11/345f3173809cea7f1a193bfbf02403fff250a3360e0e118a1630985e547d/dill-0.3.1.1.tar.gz (151kB) | |
default: Collecting flashtext (from -r ./requirements.txt (line 2)) | |
default: Downloading https://files.pythonhosted.org/packages/81/d8/2cd0656eae456d615c2f1efbcae8dfca2cb871a31f34ba8925aba47d5e09/flashtext-2.7.tar.gz | |
default: Collecting paho-mqtt (from -r ./requirements.txt (line 3)) | |
default: Downloading https://files.pythonhosted.org/packages/59/11/1dd5c70f0f27a88a3a05772cd95f6087ac479fac66d9c7752ee5e16ddbbc/paho-mqtt-1.5.0.tar.gz (99kB) | |
default: Collecting pyyaml>=3.11 (from -r ./requirements.txt (line 4)) | |
default: Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB) | |
default: Collecting pypandoc (from -r ./requirements.txt (line 5)) | |
default: Downloading https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz | |
default: Collecting shelljob (from -r ./requirements.txt (line 6)) | |
default: Downloading https://files.pythonhosted.org/packages/e9/3e/0ac0490df850c4096fa048313a21edf730fe337da8e1cf860eca19e0fb61/shelljob-0.5.8.tar.gz (318kB) | |
default: Collecting six (from -r ./requirements.txt (line 7)) | |
default: Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl | |
default: Collecting stopit (from -r ./requirements.txt (line 8)) | |
default: Downloading https://files.pythonhosted.org/packages/35/58/e8bb0b0fb05baf07bbac1450c447d753da65f9701f551dca79823ce15d50/stopit-1.1.2.tar.gz | |
default: Collecting setuptools (from pypandoc->-r ./requirements.txt (line 5)) | |
default: Downloading https://files.pythonhosted.org/packages/a0/df/635cdb901ee4a8a42ec68e480c49f85f4c59e8816effbf57d9e6ee8b3588/setuptools-46.1.3-py3-none-any.whl (582kB) | |
default: Collecting pip>=8.1.0 (from pypandoc->-r ./requirements.txt (line 5)) | |
default: Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB) | |
default: Collecting wheel>=0.25.0 (from pypandoc->-r ./requirements.txt (line 5)) | |
default: Downloading https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl | |
default: Installing collected packages: dill, flashtext, paho-mqtt, pyyaml, setuptools, pip, wheel, pypandoc, shelljob, six, stopit | |
default: Running setup.py install for dill: started | |
default: Running setup.py install for dill: finished with status 'done' | |
default: Running setup.py install for flashtext: started | |
default: Running setup.py install for flashtext: finished with status 'done' | |
default: Running setup.py install for paho-mqtt: started | |
default: Running setup.py install for paho-mqtt: finished with status 'done' | |
default: Running setup.py install for pyyaml: started | |
default: Running setup.py install for pyyaml: finished with status 'done' | |
default: Running setup.py install for pypandoc: started | |
default: Running setup.py install for pypandoc: finished with status 'done' | |
default: Running setup.py install for shelljob: started | |
default: Running setup.py install for shelljob: finished with status 'error' | |
default: Complete output from command /vagrant/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ocm6s_0j/shelljob/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-j26swfmf-record/install-record.txt --single-version-externally-managed --compile --install-headers /vagrant/env/include/site/python3.6/shelljob: | |
default: Maybe try: | |
default: | |
default: sudo yum install pandoc | |
default: See http://johnmacfarlane.net/pandoc/installing.html | |
default: for installation options | |
default: --------------------------------------------------------------- | |
default: | |
default: Generating Description failed, press enter to process anyway, or kill to cancelTraceback (most recent call last): | |
default: File "/tmp/pip-build-ocm6s_0j/shelljob/setup.py", line 13, in <module> | |
default: desc = pypandoc.convert( 'README.md', 'rst' ) | |
default: File "/vagrant/env/lib64/python3.6/site-packages/pypandoc/__init__.py", line 68, in convert | |
default: outputfile=outputfile, filters=filters) | |
default: File "/vagrant/env/lib64/python3.6/site-packages/pypandoc/__init__.py", line 256, in _convert_input | |
default: _ensure_pandoc_path() | |
default: File "/vagrant/env/lib64/python3.6/site-packages/pypandoc/__init__.py", line 548, in _ensure_pandoc_path | |
default: raise OSError("No pandoc was found: either install pandoc and add it\n" | |
default: OSError: No pandoc was found: either install pandoc and add it | |
default: to your PATH or or call pypandoc.download_pandoc(...) or | |
default: install pypandoc wheels with included pandoc. | |
default: | |
default: During handling of the above exception, another exception occurred: | |
default: | |
default: Traceback (most recent call last): | |
default: File "<string>", line 1, in <module> | |
default: File "/tmp/pip-build-ocm6s_0j/shelljob/setup.py", line 15, in <module> | |
default: input( 'Generating Description failed, press enter to process anyway, or kill to cancel' ) | |
default: EOFError: EOF when reading a line | |
default: | |
default: ---------------------------------------- | |
default: Command "/vagrant/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ocm6s_0j/shelljob/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-j26swfmf-record/install-record.txt --single-version-externally-managed --compile --install-headers /vagrant/env/include/site/python3.6/shelljob" failed with error code 1 in /tmp/pip-build-ocm6s_0j/shelljob/ | |
default: Requirement already up-to-date: pip in /vagrant/env/lib/python3.6/site-packages (20.0.2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/private/var/folders/d_/jjdk8f2d3k5gz2tvyb9cv74r0000gn/T/pip-install-svrq_xt3/shelljob/setup.py", line 15, in <module> | |
input( 'Generating Description failed, press enter to process anyway, or kill to cancel' ) | |
EOFError: EOF when reading a line | |
---------------------------------------- | |
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment