首页 > 其他分享 >pip安装依赖失败

pip安装依赖失败

时间:2023-11-03 16:33:59浏览次数:37  
标签:依赖 simple com pypi python https pip 安装

  • 报错如下
Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4)
Collecting pip
  Downloading pip-23.3.1-py3-none-any.whl (2.1 MB)
     --- ------------------------------------ 0.2/2.1 MB 6.6 kB/s eta 0:04:49
ERROR: Exception:
Traceback (most recent call last):
  File "C:\Users\ychen\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\urllib3\response.py", line 438, in _error_catcher
// ......
ERROR: Operation cancelled by user
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\ychen\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
  • 更换源
豆瓣:http://pypi.douban.com/simple/
中科大:https://pypi.mirrors.ustc.edu.cn/simple/
清华:https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云:https://mirrors.aliyun.com/pypi/simple/

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
  • 查看pip的版本
pip list

# 升级
python -m pip install --upgrade pip

标签:依赖,simple,com,pypi,python,https,pip,安装
From: https://www.cnblogs.com/dogleftover/p/17807876.html

相关文章

  • 【pycharm】pycharm中添加allure库及pip升级
    参考:https://blog.csdn.net/weixin_45464162/article/details/129910922一、本地下载allure包并配置环境变量1、访问 https://github.com/allure-framework/allure2/releases,下载allure并解压到电脑本地,解压位置可自定义,, 2、环境变量中配置allure的bin目录  3、通过......
  • Linux环境Prometheus接入(一、Prometheus安装)
    环境CentOS7.9安装1、自行下载https://prometheus.io/download/2、命令下载wgethttps://github.com/prometheus/prometheus/releases/download/v2.47.2/prometheus-2.47.2.linux-amd64.tar.gz3、解压tar-zvfprometheus-2.47.2.linux-amd64.tar.gzmvprometheus-2.......
  • Linux环境Prometheus接入(二、Grafana安装)
    环境CentOS7.9安装1、命令下载yuminstall-yhttps://dl.grafana.com/enterprise/release/grafana-enterprise-10.2.0-1.x86_64.rpm2、启动、查看状态systemctlstartgrafana-serversystemctlstatusgrafana-server-l3、修改启动端口cd/etc/grafanavigrafa......
  • VS2022 XAML Styler拓展工具安装失败解决办法
    引言使用VS2022拓展功能在线安装XAMLStyler工具时,会出现安装失败的问题,下面介绍如何解决。其他拓展工具如果安装失败,可以参考相同解决办法。步骤:在VS菜单中选择,Extensions->ManageExtensions在新窗口中,搜索xamlstyler,然后下载对工具下载完成后,关闭VS编译器,会自......
  • Linux版python安装教程
    如果你希望在CentOS上使用源码编译的方式安装Python3,请按照以下步骤进行操作:安装编译工具和依赖项:在开始编译前,需要安装一些编译工具和Python3的依赖项。在终端中运行以下命令:sudoyumgroupinstall"DevelopmentTools"sudoyuminstallopenssl-develbzip2-devellibff......
  • centos7源码安装MySQL 5
    安装前准备检查系统是否安装过mysql:rpm-qa|grepmysql查询所有mysql对应的文件夹,(人工判断不需要后)删除:whereismysqlfind/-namemysql卸载CentOS7系统自带mariadb:#查看系统自带的Mariadbrpm-qa|grepmariadb#卸载系统自带的Mariadbrpm-e--nodepsmariadb-libs#删......
  • Ubuntu离线安装解决办法
    步骤:XXX替换未待安装的的服务名1.查看依赖apt-cachedependsXXX2.下载deb及其依赖包apt-getdownload$(apt-cachedepends--recurse--no-recommends--no-suggests--no-conflicts--no-breaks--no-replaces--no-enhances--no-pre-dependsXXX|grep-vi386|grep"^\w"......
  • linux服务器安装python curl_cffi
    """在windows或mac上,直接pip3installcurl_cffi就能使用,但是在linux中,可能会缺少证书以下是Linux中的安装步骤:"""#安装第三方库pip3installcurl_cffi​#下载证书wgethttps://curl.se/ca/cacert.pem​#将证书添加到site-packagesmvcacert.pem/usr/local/lib/python3.8/si......
  • 卸载IDEA重新安装
    目的 由于更换jdk,老的idea已经不能支持最新的jdk,需要需要卸载掉老的版本,重新安装新的idea.卸载 1.打开控制面板,找到卸载程序 2.找到idea,右键点击卸载 3.选择删除缓存和插件,点击卸载 4.等待完成 ......
  • CodeWhisperer 的安装及体验
    文章作者:PonyCodeWhisperer是亚马逊出品的一款基于机器学习的通用代码生成器,可实时提供代码建议。类似Cursor和GithubCopilot编码工具。官网:https://aws.amazon.com/cn/codewhisperer/?trk=cndc-detail在编写代码时,它会自动根据您现有的代码和注释生成建议。从单行代码建......