当前位置:网站首页>PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
2022-07-01 17:36:00 【Son, wake up】
One 、 Problem description :
Using the following method to install all failed
① Installation command :pip install akshare
② Additional source installation commands :pip install akshare -i https://pypi.tuna.tsinghua.edu.cn/simple
③ Additional Douban source installation command :pip install akshare -i https://pypi.douban.com/simple/
Two 、 preparation :
I have one “Anaconda Create a python36 Environmental Science ”, If so, skip the preparatory work
Specific steps :
① Use "win+r" Open Command Prompt 、 Input "cmd" enter
② establish python=3.6 Version environment , named python36
conda create -n python36 python=3.6
3、 ... and 、 Problem solution :
Tips for the above questions : Timeout problem :timeout( The net is not good )pip problem ( Maybe it's about updates )
First use the following two methods to update :( First, I didn't succeed )
①easy_install -i https://pypi.doubanio.com/simple/ --upgrade pip
②python -m pip install -i http://pypi.douban.com/simple/ --upgrade pip --trusted-host=pypi.douban.com
1) open Anaconda Prompt
2) Input instruction , Get into python36 Environmental Science ( Activate the environment ):
conda activate python36
3) It can be installed quickly and well with the following instructions :(--trusted-host pypi.douban.com It can be understood that the trust option is added )
pip install akshare -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
notes : among “akshare” Is the package name I installed , To install other packages , Just put the “akshare” Change to the package name to be installed , The other is constant .
边栏推荐
- 如何使用 etcd 实现分布式 /etc 目录
- 英特尔开源深度学习工具库 OpenVINO,将加大与本土软硬件方合作,持续开放
- How to write good code - Defensive Programming Guide
- pyqt5中,在控件上画柱状图
- June issue | antdb database participated in the preparation of the "Database Development Research Report" and appeared on the list of information technology and entrepreneurship industries
- 股票万1免5证券开户是合理安全的吗,怎么讲
- (17) DAC conversion experiment
- ACM MM 2022视频理解挑战赛视频分类赛道冠军AutoX团队技术分享
- 中国氮化硅陶瓷基板行业研究与投资前景报告(2022版)
- [Supplément linguistique c] déterminer quel jour est demain (date de demain)
猜你喜欢

Petrv2: a unified framework for 3D perception of multi camera images

Vulnhub range hacksudo Thor

ACL 2022 | 分解的元学习小样本命名实体识别

Detailed explanation of string's trim() and substring()

SQL注入漏洞(Mysql与MSSQL特性)

Gold, silver and four want to change jobs, so we should seize the time to make up

The amazing open source animation library is not only awesome, but also small

【Try to Hack】vulnhub DC4

Good looking UI mall source code has been scanned, no back door, no encryption

换掉UUID,NanoID更快更安全!
随机推荐
【C补充】【字符串】按日期排序显示一个月的日程
(27) Open operation, close operation, morphological gradient, top hat, black hat
MySQL learning summary
(12) About time-consuming printing
麦趣尔:媒体报道所涉两批次产品已下架封存,受理消费者诉求
Integer array merge [JS]
Countdownlatch blocking wait for multithreading concurrency
【C语言补充】判断明天是哪一天(明天的日期)
In depth Research Report on China's disposable sanitary products production equipment industry (2022 Edition)
[Supplément linguistique c] déterminer quel jour est demain (date de demain)
荣威 RX5 的「多一点」产品策略
LeetCode中等题之TinyURL 的加密与解密
Redis -- data type and operation
MySQL -- explain performance optimization
The amazing open source animation library is not only awesome, but also small
中国生物降解塑料市场预测与投资战略报告(2022版)
重磅披露!上百个重要信息系统被入侵,主机成为重点攻击目标
ACL 2022 | 分解的元学习小样本命名实体识别
Openlayers customize bubble boxes and navigate to bubble boxes
Computed property “xxx“ was assigned to but it has no setter.