1. Check if there is a hidden folder.pip in the root directory of the current user
Take the root account as an example here, first pass cd cdThe c d command switches to the current user root directory,pwd pwdThe p w d command looks at the working directory, that is, the current directory, and then usesll lll command to view all folders (including hidden folders) and files, and found no hidden folders. pip
2. Create a hidden folder .pip and create a configuration file named pip.conf
Create a hidden folder .pip through the shell command, then switch the current directory to the .pip folder, and then create a pip.conf configuration file
3. Edit the pip.conf configuration file, write the Tsinghua source image configuration information and save it