SoFunction
Updated on 2025-03-04

Detailed explanation of how to modify the PIP image source in Windows environment

This article mainly introduces a detailed explanation of the method of modifying the PIP mirror source in the Windows environment. The example code is introduced in this article in detail, which has certain reference value for everyone's learning or work. Friends who need it can refer to it.

(1): In windows file manager, enter %APPDATA%

(2): You will locate a new directory, create a new pip folder under this directory, and then go to the pip folder to create a new file

(3): Enter the following content in the newly created file to get the file path: "C:\Users\Administrator\AppData\Roaming\pip\"

[global]
index-url = /simple

[install]
trusted-host = 

The above is all the content of this article. I hope it will be helpful to everyone's study and I hope everyone will support me more.