New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation message for list format suggests wrong configuration value #4058

Closed
alex opened this Issue Nov 2, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@alex
Member

alex commented Nov 2, 2016

  • Pip version: 9.0.0
  • Python version: 2.7.12
  • Operating System: OS X

Description:

The deprecation message emitted from pip list about the --format option suggests the wrong configuration value.

What I've run:

$ pip list --outdated
DEPRECATION: The default format will switch to columns in the future. You can use --format=legacy (or define a list_format in your pip.conf) to disable this warning.

The correct configuration option is:

[list]
format =
@ciniro

This comment has been minimized.

Show comment
Hide comment
@ciniro

ciniro May 25, 2017

You must to do the follow steps (if you are in Windows like me):

  1. Acess the folder C:\Users\

  2. If dont exists, create in C:\Users a new folder called "pip"

  3. After, enter in folder pip created and create a new file with name "pip.ini".

  4. In this file add the follow lines:
    [list]
    format=columns

  5. Open the terminal (cmd, cygwin or anaconda prompt) and try again typing:
    (name_of_your_env) C:\your_path>conda env export > name_of_file.yaml

  6. Acess the C:\your_path cited in the step 5 and notice that file exported called name_of_file.yaml was be created.

I hope I have helped! Bye!

ciniro commented May 25, 2017

You must to do the follow steps (if you are in Windows like me):

  1. Acess the folder C:\Users\

  2. If dont exists, create in C:\Users a new folder called "pip"

  3. After, enter in folder pip created and create a new file with name "pip.ini".

  4. In this file add the follow lines:
    [list]
    format=columns

  5. Open the terminal (cmd, cygwin or anaconda prompt) and try again typing:
    (name_of_your_env) C:\your_path>conda env export > name_of_file.yaml

  6. Acess the C:\your_path cited in the step 5 and notice that file exported called name_of_file.yaml was be created.

I hope I have helped! Bye!

@albinwilson

This comment has been minimized.

Show comment
Hide comment
@albinwilson

albinwilson Sep 15, 2017

Use this command it will works
pip list --format=columns

albinwilson commented Sep 15, 2017

Use this command it will works
pip list --format=columns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment