安装python pip install
时间: 2023-09-21 11:12:27 浏览: 96
安装Python第三方库使用pip install命令。 通过在命令行中输入"pip install 库名"即可安装指定的库。如果出现报错,可能是由于网速不佳,可以尝试切换到国内的镜像源进行安装。 使用命令"python -3 -m pip install 库名 -i 镜像源地址 --trusted-host 镜像源地址",其中镜像源地址可以使用国内的镜像源,如豆瓣镜像源" http://pypi.douban.com/simple/". 这样就可以修改默认的下载路径并安装库了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [python pip install 总是报错及解决办法](https://blog.csdn.net/weixin_62375676/article/details/128632027)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Python pip install如何修改默认下载路径](https://download.csdn.net/download/weixin_38666114/12852346)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [python第三方库的安装pip install /(‘pip‘ 不是内部或外部命令,也不是可运行的程序)](https://blog.csdn.net/xiaoxiangxiang_p/article/details/123990489)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文