Skip to content

Instantly share code, notes, and snippets.

@mhash1m
Last active July 11, 2020 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhash1m/ea2e1301c615266a51b2ff25dff8d5a6 to your computer and use it in GitHub Desktop.
Save mhash1m/ea2e1301c615266a51b2ff25dff8d5a6 to your computer and use it in GitHub Desktop.
`dffml service dev install -user` log
Running setup.py develop for dffml-model-transformers
Running setup.py install for vowpalwabbit ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o0wkc_1q/vowpalwabbit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o0wkc_1q/vowpalwabbit/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-1ckqz98g/install-record.txt --single-version-externally-managed --prefix /usr/src/dffml/.venv/.local --compile --install-headers /usr/src/dffml/.venv/.local/include/python3.7m/vowpalwabbit
cwd: /tmp/pip-install-o0wkc_1q/vowpalwabbit/
Complete output (30 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/vowpalwabbit
copying python/vowpalwabbit/__init__.py -> build/lib.linux-x86_64-3.7/vowpalwabbit
copying python/vowpalwabbit/pyvw.py -> build/lib.linux-x86_64-3.7/vowpalwabbit
copying python/vowpalwabbit/sklearn_vw.py -> build/lib.linux-x86_64-3.7/vowpalwabbit
running egg_info
writing python/vowpalwabbit.egg-info/PKG-INFO
writing dependency_links to python/vowpalwabbit.egg-info/dependency_links.txt
writing top-level names to python/vowpalwabbit.egg-info/top_level.txt
reading manifest file 'python/vowpalwabbit.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'python/*.dll' under directory 'python/bin'
warning: no files found matching 'python/packages.config' under directory 'python/windows*'
warning: no files found matching 'python/*.vcxproj*' under directory 'python/windows*'
warning: no previously-included files matching '*.o' found anywhere in distribution
warning: no previously-included files matching '*.exe' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*' found under directory 'vowpalwabbit/.nuget'
warning: no previously-included files matching '*' found under directory 'vowpalwabbit/slim'
writing manifest file 'python/vowpalwabbit.egg-info/SOURCES.txt'
copying python/vowpalwabbit/conda_install.sh -> build/lib.linux-x86_64-3.7/vowpalwabbit
running build_ext
creating build/temp.linux-x86_64-3.7
cmake -DCMAKE_BUILD_TYPE=Release -DPY_VERSION=3.7 -DBUILD_PYTHON=On -DBUILD_TESTS=Off -DWARNINGS=Off -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-o0wkc_1q/vowpalwabbit/build/lib.linux-x86_64-3.7 /tmp/pip-install-o0wkc_1q/vowpalwabbit
unable to execute 'cmake': No such file or directory
error: command 'cmake' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o0wkc_1q/vowpalwabbit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o0wkc_1q/vowpalwabbit/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-1ckqz98g/install-record.txt --single-version-externally-managed --prefix /usr/src/dffml/.venv/.local --compile --install-headers /usr/src/dffml/.venv/.local/include/python3.7m/vowpalwabbit Check the logs for full command output.
Traceback (most recent call last):
File "/usr/src/dffml/.venv/.local/bin/dffml", line 33, in <module>
sys.exit(load_entry_point('dffml', 'console_scripts', 'dffml')())
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 273, in main
result = loop.run_until_complete(cls._main(*argv[1:]))
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 234, in _main
result = await cls.cli(*args)
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 220, in cli
return await cmd.do_run()
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 202, in do_run
return await self.run()
File "/usr/src/dffml/dffml/service/dev.py", line 340, in run
raise RuntimeError("pip failed to install dependencies")
*********************************************************
REMOVED VOWPAL FROM INSTALL REQUIRES TO SEE
*********************************************************
Running setup.py install for ConfigSpace ... done
Running setup.py install for pyrfr ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xvj1exp5/pyrfr/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvj1exp5/pyrfr/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-7feajqmg/install-record.txt --single-version-externally-managed --prefix /usr/src/dffml/.venv/.local --compile --install-headers /usr/src/dffml/.venv/.local/include/python3.7m/pyrfr
cwd: /tmp/pip-install-xvj1exp5/pyrfr/
Complete output (7 lines):
running install
running build_ext
building 'pyrfr._regression' extension
swigging pyrfr/regression.i to pyrfr/regression_wrap.cpp
swig -python -c++ -modern -features nondynamic -I./include -o pyrfr/regression_wrap.cpp pyrfr/regression.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xvj1exp5/pyrfr/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvj1exp5/pyrfr/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-7feajqmg/install-record.txt --single-version-externally-managed --prefix /usr/src/dffml/.venv/.local --compile --install-headers /usr/src/dffml/.venv/.local/include/python3.7m/pyrfr Check the logs for full command output.
Traceback (most recent call last):
File "/usr/src/dffml/.venv/.local/bin/dffml", line 33, in <module>
sys.exit(load_entry_point('dffml', 'console_scripts', 'dffml')())
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 273, in main
result = loop.run_until_complete(cls._main(*argv[1:]))
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 234, in _main
result = await cls.cli(*args)
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 220, in cli
return await cmd.do_run()
File "/usr/src/dffml/dffml/util/cli/cmd.py", line 202, in do_run
return await self.run()
File "/usr/src/dffml/dffml/service/dev.py", line 340, in run
raise RuntimeError("pip failed to install dependencies")
RuntimeError: pip failed to install dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment