Python 安装包环境小问题:WARNING: The repository located at pypi.douban.com is not a trusted or secure host a
使用命令:pip install chardet
错误提示:WARNING: The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host pypi.douban.com'.
ERROR: Could not find a version that satisfies the requirement chardet (from versions: none)
ERROR: No matching distribution found for chardet
WARNING: The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host pypi.douban.com'.
WARNING: There was an error checking the latest version of pip.
解决办法:进去C盘的pip目录:C:\Users\23533\AppData\Roaming\pip
如果有些文件夹没找到,可以把选中隐藏的项目和文件扩展名打开,如果pip文件夹下有pip.ini的配置文件的话可以直接打开然后输入以下:
[global]
timeout = 60
index-url = https://pypi.douban.com/simple/
trusted-host = https://pypi.douban.com
如果没有该配置文件,可以自己创建一个,文件扩展名的后缀一定要为.ini。
Python 安装包环境小问题:WARNING: The repository located at pypi.douban.com is not a trusted or secure host a相关推荐
- 已解决(pip报错)WARNING: The repository located at mirrors .aliyun.com is not a trusted or secure host and
成功解决:WARNING: The repository located at mirrors .aliyun.com is not a trusted or secure host and is b ...
- pip安装包时报错:The repository located at pypi.doubanio.com is not a trusted or secure host
下载时报错:The repository located at pypi.doubanio.com is not a trusted or secure host 检查镜像源,镜像源很多都是http的 ...
- WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and is being i
解决办法 更换下载源 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
- 国内镜像源使用时出现WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and
解决办法:pip install ××× -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com PS; ...
- python 安装包时添加国内源
python 安装包时添加国内源 清华源 -i https://pypi.tuna.tsinghua.edu.cn/simple/
- python安装包_迈出Python学习第一步:Python开发环境的下载与安装
所谓"磨刀不误砍柴工"."工欲善其事,必先利其器",都在告诉我们一个道理:要做好一个事情,事先做好充分的准备工作是非常重要的.所以在我们正式学习用Python编 ...
- python安装包_Python开发环境搭建
本文是基于最新的版本python3的,俗话说:工欲善其事必先利其器.做自动化测试的第一步必须会搭建基本的自动化测试环境,掌握python基本的语法和一个IDE工具来进行开发,下边会详细介绍怎么搭建py ...
- python安装包时出现的一些问题及解决方法
(一)python安装包时出现四次:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=N ...
- python安装包_在python官网打不开的情况下获取获取官方最新安装包
不知道有没有朋友在下载python最新安装包的时候,打不开python官网,我是遇见过,就像我们找东西时一样,需要的时候网站打不开,不需要了秒开,后来小编查阅各种资料,咨询了好几个大佬,终于得知了一个 ...
最新文章
- UI设计培训分享:学习UI设计有哪些技巧
- python可视化脉搏和血氧数据并通过阈值动态调整、动态可视化异常值
- android 5.1 raw,升级安卓5.1 三星S6/S6 edge将支持RAW
- ajax(检测用户名,添加数据)
- Android TimeAnimator
- [js] 使用for-in语句能保证遍历对象的顺序吗?如果不能那为什么?如果可以那又如何保证?
- IDEA快捷键大全及修改IDEA快捷键
- 网络操作系统和分布式系统区别简介
- java拆弹_[逆向工程] 二进制拆弹Binary Bombs 快乐拆弹 详解
- 莫队算法+带修莫队+回滚莫队
- 学画画软件app推荐_可以学画画的APP有哪些?
- 自然语言14_Stemming words with NLTK
- 最新版 IDEA 2022.1 正式上线 各种新操作...新功能...都在这里啦
- EChat(简易聊天项目)四、模拟强制下线
- python安装成功截图_上传Anaconda 3 安装好后在电脑开始里面的截图。
- 品Spring:详细解说bean后处理器
- 【架构】生成全局唯一ID的3个思路,来自一个资深架构师的总结
- windows 7 x64 下的 System Call
- MATLAB调用Kakadu中的可执行文件,实现JPEG2000压缩
- java解析读取.rtf格式文档