Where on Windows 10 is pip.conf or pip.ini located?
See original GitHub issue- Pip version: 9.0.1
- Python version: 3.5.2 installed with Chocolatey
- Operating System: Windows 10
Description:
What I’ve done: pip list
What has happened:
λ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
What went wrong:
Nothing, but deprecation message is annoying and I can’t locate any pip.conf or pip.ini to stop it.
NOTE: Python 3 installed with Chocolatey
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Python - cant find pip.ini or pip.conf in Windows - Stack Overflow
A bit late, but for reference: Try adding the pip.ini file in %USERPROFILE%\pip\ ...
Read more >Configuration - pip documentation v22.3.1
Location# · On Windows 7 and later: C:\ProgramData\pip\pip.ini (hidden but writeable) · On Windows Vista: Global configuration is not supported. · On Windows...
Read more >set pip config file in windows and basic configurations
create pip.ini file in C:\Users\Username\pip directory. This directory may not exist, if so, then create one manually.
Read more >Further Configuration of pip and Virtualenv
Over time this can result in a messy global package list. In order to make sure that you install packages to your active...
Read more >Configure pip on Windows to avoid SSL issues - Code Maven
Run the following command to get the list of configuration files: pip config -v list. You will see something like this: (your username...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In my case the file and the pip folder did not exist at mentioned location. I had to create them.
Detailed solution here.
Thank you! Cheers Tset
Quoting from https://pip.pypa.io/en/stable/user_guide/#config-file