Skip to content

Instantly share code, notes, and snippets.

@OniOni
Created September 22, 2017 21:20
Show Gist options
  • Save OniOni/d1e18a1c4518854e8c046c736f8dc1ba to your computer and use it in GitHub Desktop.
Save OniOni/d1e18a1c4518854e8c046c736f8dc1ba to your computer and use it in GitHub Desktop.
pipenv failure :'(
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
"flake8" = "==3.4.1"
pytest = "==3.2.0"
"pytest-cov" = "==2.5.1"
ipython = "==6.1.0"
[packages]
alembic = "==0.9.5"
datadog = "==0.16.0"
ddtrace = "==0.9.2"
Flask = "==0.12.2"
gunicorn = "==19.7.1"
"Jinja2" = "==2.9.6"
pika = "==0.10.0"
"psycopg2" = "==2.7.3"
PyYAML = "==3.12"
schematics = "==2.0.1"
sparkpost = "==1.3.5"
SQLAlchemy = "==1.1.12"
twilio = "==6.5.0"
[requires]
python_version = "3.6"
alembic==0.9.5
datadog==0.16.0
ddtrace==0.9.2
flake8==3.4.1
Flask==0.12.2
gunicorn==19.7.1
ipython==6.1.0
Jinja2==2.9.6
pika==0.10.0
psycopg2==2.7.3
pytest==3.2.0
pytest-cov==2.5.1
PyYAML==3.12
schematics==2.0.1
sparkpost==1.3.5
SQLAlchemy==1.1.12
twilio==6.5.0
$ pipenv install
No package provided, installing all dependencies.
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Traceback (most recent call last):
File "/Users/msabourin/.local/bin/pipenv", line 11, in <module>
sys.exit(cli())
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 1607, in install
do_init(dev=dev, allow_global=system, ignore_pipfile=ignore_pipfile, system=system, skip_lock=skip_lock, verbose=verbose, concurrent=concurrent)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 1190, in do_init
do_lock(system=system)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 973, in do_lock
project=project
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/utils.py", line 461, in resolve_deps
resolved_tree.update(resolver.resolve())
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/piptools/resolver.py", line 107, in resolve
has_changed, best_matches = self._resolve_one_round()
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/piptools/resolver.py", line 195, in _resolve_one_round
for dep in self._iter_dependencies(best_match):
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/piptools/resolver.py", line 274, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/piptools/repositories/pypi.py", line 145, in get_dependencies
self._dependencies_cache[ireq] = reqset._prepare_file(self.finder, ireq)
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/patched/pip/req/req_set.py", line 634, in _prepare_file
abstract_dist.prep_for_dist()
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/patched/pip/req/req_set.py", line 129, in prep_for_dist
self.req_to_install.run_egg_info()
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/patched/pip/req/req_install.py", line 439, in run_egg_info
command_desc='python setup.py egg_info')
File "/Users/msabourin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/4h/s6ttpgkd1d1ddm85n3n5kw4w0000gn/T/tmpASTlTFbuild/ipython/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment