Skip to content

Instantly share code, notes, and snippets.

@adithyabsk
Created June 25, 2019 22:56
Show Gist options
  • Save adithyabsk/24898d4538bce76693384ce3149c60ef to your computer and use it in GitHub Desktop.
Save adithyabsk/24898d4538bce76693384ce3149c60ef to your computer and use it in GitHub Desktop.
Poetry Crashes
##[section]Starting: Install all packages
==============================================================================
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.151.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
Script contents:
$HOME/.poetry/bin/poetry install -vvv -E dev
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /home/vsts/work/_temp/35f802e5-33df-4586-ab66-5f027b6d95a3.sh
Creating virtualenv foreshadow-py3.6 in /home/vsts/.cache/pypoetry/virtualenvs
Using virtualenv: /home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6
Installing dependencies from lock file
Package operations: 136 installs, 0 updates, 0 removals
- Installing certifi (2019.6.16)
- Installing chardet (3.0.4)
- Installing decorator (4.4.0)
- Installing idna (2.8)
- Installing ipython-genutils (0.2.0)
- Installing markupsafe (1.1.1)
- Installing pyparsing (2.4.0)
- Installing pytz (2019.1)
- Installing six (1.12.0)
- Installing urllib3 (1.25.3)
- Installing alabaster (0.7.12)
- Installing attrs (19.1.0)
- Installing babel (2.7.0)
- Installing colorama (0.4.1)
- Installing docutils (0.14)
- Installing entrypoints (0.3)
- Installing imagesize (1.1.0)
- Installing jinja2 (2.10.1)
- Installing mccabe (0.6.1)
- Installing numpy (1.16.4)
- Installing packaging (19.0)
- Installing pycodestyle (2.5.0)
- Installing pyflakes (2.1.1)
- Installing pygments (2.4.2)
- Installing pyrsistent (0.15.2)
- Installing requests (2.22.0)
- Installing snowballstemmer (1.2.1)
- Installing sphinxcontrib-websupport (1.1.2)
- Installing traitlets (4.3.2)
- Installing zipp (0.5.1)
- Installing absl-py (0.7.1)
- Installing cython (0.29.10)
- Installing dill (0.2.9)
- Installing flake8 (3.7.7)
- Installing future (0.17.1)
- Installing grpcio (1.21.1)
- Installing h5py (2.9.0)
- Installing importlib-metadata (0.18)
- Installing jsonschema (3.0.1)
- Installing jupyter-core (4.5.0)
- Installing markdown (3.1.1)
- Installing protobuf (3.8.0)
- Installing psutil (5.6.3)
- Installing python-dateutil (2.8.0)
- Installing scipy (1.3.0)
- Installing smmap2 (2.0.5)
- Installing sphinx (1.8.5)
- Installing typing (3.7.4)
- Installing werkzeug (0.15.4)
- Installing wheel (0.33.4)
- Installing astor (0.8.0)
- Installing atomicwrites (1.3.0)
- Installing backports.weakref (1.0.post1)
- Installing cached-property (1.5.1)
- Installing configspace (0.4.10)
- Installing ecos (2.0.7.post1)
- Installing enum34 (1.1.6)
- Installing flake8-polyfill (1.0.2)
- Installing gast (0.2.2)
- Installing gitdb2 (2.0.5)
- Installing google-pasta (0.1.7)
- Installing joblib (0.13.2)
- Installing keras-applications (1.0.8)
- Installing keras-preprocessing (1.1.0)
- Installing mando (0.6.4)
- Installing mock (3.0.5)
- Installing more-itertools (7.0.0)
- Installing multiprocess (0.70.7)
- Installing nbformat (4.4.0)
- Installing osqp (0.5.0)
- Installing pandas (0.23.4)
- Installing patsy (0.5.1)
- Installing pluggy (0.12.0)
- Installing py (1.8.0)
- Installing pynisher (0.4.2)
- Installing pyrfr (0.7.4)
- Installing pyyaml (5.1.1)
- Installing retrying (1.3.3)
- Installing scikit-learn (0.19.2)
- Installing scs (2.1.0)
- Installing sphinx-rtd-theme (0.4.3)
- Installing tensorboard (1.14.0)
- Installing tensorflow-estimator (1.14.0)
- Installing termcolor (1.1.0)
- Installing wrapt (1.11.2)
- Installing appdirs (1.4.3)
- Installing aspy.refactor-imports (1.1.0)
- Installing aspy.yaml (1.3.0)
- Installing cfgv (2.0.0)
- Installing click (7.0)
- Installing colorlog (4.0.2)
- Installing coverage (4.5.3)
- Installing cvxpy (1.0.24)
- Installing dataclasses (0.6)
- Installing deap (1.3.0)
- Installing docopt (0.6.2)
- Installing filelock (3.0.12)
- Installing gitpython (2.1.11)
- Installing identify (1.4.5)
- Installing importlib-resources (1.0.2)
- Installing keras (2.2.4)
- Installing knnimpute (0.1.0)
- Installing liac-arff (2.4.0)
- Installing lockfile (0.12.2)
- Installing nodeenv (1.3.3)
- Installing nose (1.3.7)
- Installing np-utils (0.5.10.0)
- Installing plotly (3.10.0)
- Installing progress (1.5)
- Installing pydocstyle (3.0.0)
- Installing pytest (3.10.1)
- Installing radon (3.0.3)
- Installing smac (0.8.0)
- Installing statsmodels (0.10.0)
- Installing stopit (1.1.2)
- Installing tabulate (0.8.3)
- Installing tensorflow (1.14.0)
- Installing toml (0.10.0)
- Installing tqdm (4.32.2)
- Installing update-checker (0.16)
- Installing virtualenv (16.6.1)
- Installing xgboost (0.7.post3)
- Installing auto-sklearn (0.4.0)
- Installing black (18.9b0)
- Installing category-encoders (1.3.0)
- Installing coveralls (1.8.1)
- Installing fancyimpute (0.3.2)
- Installing flake8-docstrings (1.3.0)
- Installing isort (4.3.20)
- Installing pre-commit (1.17.0)
- Installing pytest-cov (2.7.1)
- Installing pytest-mock (1.10.4)
- Installing seed-isort-config (1.9.1)
- Installing tox (3.13.0)
- Installing tpot (0.9.6)
- Installing wily (1.12.2)
- Installing foreshadow (0.1.0)
[EnvCommandError]
Command ['/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/bin/python
', '-m', 'pip', 'install', '-e', '/home/vsts/work/1/s'] errored with the fol
lowing output:
Obtaining file:///home/vsts/work/1/s
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Exception:
Traceback (most recent call last):
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/req/req_install.py", line 339, in check_if_exi
sts
self.satisfied_by = pkg_resources.get_distribution(str(no_marker))
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 476, in get_dis
tribution
dist = get_provider(dist)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 352, in get_pro
vider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 786, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pip._vendor.pkg_resources.ContextualVersionConflict: (setuptools 40.6.2 (/ho
me/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.6/site-pack
ages), Requirement.parse('setuptools>=41.0.0'), {'tensorboard'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/commands/install.py", line 318, in run
resolver.resolve(requirement_set)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/resolve.py", line 193, in _get_abstract_dist_f
or
req, self.require_hashes, self.use_user_site, self.finder,
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/operations/prepare.py", line 329, in prepare_e
ditable_requirement
req.check_if_exists(use_user_site)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_internal/req/req_install.py", line 350, in check_if_exi
sts
self.req.name
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 476, in get_dis
tribution
dist = get_provider(dist)
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 352, in get_pro
vider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.
6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 786, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pip._vendor.pkg_resources.ContextualVersionConflict: (setuptools 40.6.2 (/ho
me/vsts/.cache/pypoetry/virtualenvs/foreshadow-py3.6/lib/python3.6/site-pack
ages), Requirement.parse('setuptools>=41.0.0'), {'tensorboard'})
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Exception trace:
/home/vsts/.poetry/lib/poetry/_vendor/py3.6/cleo/application.py in run() at line 94
status_code = self.do_run(input_, output_)
/home/vsts/.poetry/lib/poetry/console/application.py in do_run() at line 88
return super(Application, self).do_run(i, o)
/home/vsts/.poetry/lib/poetry/_vendor/py3.6/cleo/application.py in do_run() at line 197
status_code = command.run(input_, output_)
/home/vsts/.poetry/lib/poetry/console/commands/command.py in run() at line 77
return super(BaseCommand, self).run(i, o)
/home/vsts/.poetry/lib/poetry/_vendor/py3.6/cleo/commands/base_command.py in run() at line 146
status_code = self.execute(input_, output_)
/home/vsts/.poetry/lib/poetry/_vendor/py3.6/cleo/commands/command.py in execute() at line 107
return self.handle()
/home/vsts/.poetry/lib/poetry/console/commands/install.py in handle() at line 77
builder.build()
/home/vsts/.poetry/lib/poetry/masonry/builders/editable.py in build() at line 17
return self._setup_build()
/home/vsts/.poetry/lib/poetry/masonry/builders/editable.py in _setup_build() at line 34
self._env.run("python", "-m", "pip", "install", "-e", str(self._path))
/home/vsts/.poetry/lib/poetry/utils/env.py in run() at line 536
return super(VirtualEnv, self).run(bin, *args, **kwargs)
/home/vsts/.poetry/lib/poetry/utils/env.py in run() at line 385
raise EnvCommandError(e)
install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
##[error]Bash exited with code '1'.
##[section]Finishing: Install all packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment