Configuration & Editors¶
Understanding where pip gets its settings is crucial for troubleshooting. pip-ui-tkinter provides tools to inspect and edit your configuration safely.
Configuration Dashboard¶
Open the Configuration Dashboard (from the menu or toolbar) to see a comprehensive view of your pip environment:
- Active Interpreter: Details about the selected Python version and its virtual environment status.
- Config Files: A list of all configuration files
pipis aware of, including their scope (global, user, or site) and whether they currently exist. - Environment Variables: Values like
PIP_INDEX_URLorVIRTUAL_ENVthat might be overriding your config files. - Index Settings: A summary of your package indexes, extra indexes, and trusted hosts.
- Secrets Redaction: By default, sensitive information (like passwords in URLs) is redacted. You can toggle Show Sensitive Values to view them.
Editing Configuration¶
The config_edit command allows you to open your pip configuration file in an external editor.
Editor Opener¶
When you run config_edit, pip-ui-tkinter invokes pip config edit.
- Windows: If no editor is configured in your environment (via
EDITORorVISUALvariables),pip-ui-tkinterdefaults tonotepad.exeto ensure the file opens successfully. - POSIX: It relies on your system's default editor configuration.
Exporting Diagnostics¶
The Configuration Dashboard includes an Export Diagnostics... button. This generates a Markdown, JSON, or Text report containing all the information in the dashboard. This is perfect for attaching to bug reports or sharing with team members when troubleshooting environment issues.