Windows下更換pip源爲清華源

打開appdata文件夾,在資源管理器的地址欄輸入%appdata%後回車: 新建一個pip文件夾,在pip文件夾裏面新建一個配置文件pip.ini: 在配置文件中輸入以下內容後保存便可: [global] timeout = 6000 index-url = https://pypi.tuna.tsinghua.edu.cn/simple trusted-host = pypi.tuna.tsi
相關文章
相關標籤/搜索