pipenv install --verbose is not verbose

Created on 13 Dec 2017  Â·  5Comments  Â·  Source: pypa/pipenv

Describe your environment
  1. OS Type: macOS
  2. Python version: 2.7.14
  3. Pipenv version: 9.0.0
Expected result

pipenv install --verbose to print the name of packages being built/installed as that happen, so that I can link a pip exception to a specific package.

At least, something more being printed when I pass in --verbose.

Actual result
$ pipenv install
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
...
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/fq/1chpjqw56lv8zq8n14cbn4k40000gn/T/tmpqZz4fybuild/functools32/
$ pipenv install --verbose
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
...
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/fq/1chpjqw56lv8zq8n14cbn4k40000gn/T/tmpaHHhN0build/functools32/

On a related note, functools32 doesn't really work with pipenv, but that's their fault.

All 5 comments

@remram44 sorry you ran into this issue. I see you omitted the actual traceback. Would you mind including the text of the traceback and the contents of your Pipfile?

It seems that passing --verbose multiple times actually results in more messages being printed. This is pretty weird and should probably be mentioned on the --help screen. How many do I need to see every message?

@remram44 I don't think that makes sense. It's a boolean flag so it either prints messages or it doesn't.

Indeed. It seems that this is unrelated to me passing --verbose multiple times but just on the command failing or succeeding (not enough is printed in the failing case, IMHO).

Basically, what I would want to know is, when pipenv fails, what is the chain of packages that led to the package that fails to build (usually functools32 or subprocess32, because lots of packages depend on those, and their setup.py don't work).

@remram44 if you are having an issue with pipenv you are going to need to provide us with more information, including the full output, tracebacks, Pipfile, etc.

I'm going to close this issue for now unless there is a full output you can provide showing us what the problem is that you're encountering. In any event this is almost certainly not a problem with the CLI flag, but an argument can be made for better exception handling.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jacebrowning picture jacebrowning  Â·  3Comments

jerzyk picture jerzyk  Â·  3Comments

konstin picture konstin  Â·  3Comments

hynek picture hynek  Â·  3Comments

randName picture randName  Â·  3Comments